Wootang01 commited on
Commit
f451458
1 Parent(s): 68fa49e

model1=gr.Interface.load("huggingface/gpt2")

Browse files

For each model variable, such as model1, please add gr. before Interface.

Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -4,7 +4,7 @@ from gradio.mix import Parallel
4
  myfirstvariable="My First Text Generator"
5
  mylovelysecondvariable="input text and submit."
6
 
7
- model1=Interface.load("huggingface/gpt2")
8
  model2=Interface.load("huggingface/EleutherAI/gpt-j-6B")
9
  model3=Interface.load("huggingface/EleutherAI/gpt-neo-1.3B")
10
 
 
4
  myfirstvariable="My First Text Generator"
5
  mylovelysecondvariable="input text and submit."
6
 
7
+ model1=gr.Interface.load("huggingface/gpt2")
8
  model2=Interface.load("huggingface/EleutherAI/gpt-j-6B")
9
  model3=Interface.load("huggingface/EleutherAI/gpt-neo-1.3B")
10