Akbartus commited on
Commit
3e9d30c
·
1 Parent(s): 8296a2c

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -0
app.py ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ # Install the dependency, i.e. gradio library once
2
+ !pip install gradio
3
+
4
+ # 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/".
5
+ # import gradio and define it as a variable name
6
+ import gradio as gr
7
+ # load interface related to gpt2 and launch it.
8
+ gr.Interface.load("huggingface/mrm8488/t5-base-finetuned-question-generation-ap").launch()