File size: 434 Bytes
3e9d30c
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
# Install the dependency, i.e. gradio library once
!pip install gradio

# It is possible to download without any issues almost any model with one line of code. Choose any model, get its link, and add before it "huggingface/".
# import gradio and define it as a variable name
import gradio as gr
# load interface related to gpt2 and launch it.
gr.Interface.load("huggingface/mrm8488/t5-base-finetuned-question-generation-ap").launch()