MelodyKwok commited on
Commit
61cd43a
1 Parent(s): d43f6d5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -5
app.py CHANGED
@@ -2,10 +2,12 @@ import gradio as gr
2
  from gradio.mix import Parallel
3
 
4
  title="My First Text Generator"
5
- description ="Input text"
6
 
7
- model1=gr.Interface.load("huggingface/EleutherAI/gpt-j-6B")
8
- model2=gr.Interface.load("huggingface/gpt2")
9
- model3=gr.Interface.load("huggingface/EleutherAI/gpt-neo-125M")
 
10
 
11
- gr.Parallel(model1, model2, model3, title=title, description =description).launch()
 
 
2
  from gradio.mix import Parallel
3
 
4
  title="My First Text Generator"
5
+ description="Input text."
6
 
7
+ #variables, functions and parameters
8
+ model1 = gr.Interface.load("huggingface/gpt2")
9
+ model2 = gr.Interface.load("huggingface/EleutherAI/gpt-j-6B")
10
+ model3 = gr.Interface.load("huggingface/EleutherAI/gpt-neo-1.3B")
11
 
12
+ #functions, parameters and variables
13
+ gr.Parallel(model1, model2, model3,title=title,description=description).launch()