YoHoCo0o0 commited on
Commit
64e7068
1 Parent(s): 8aa4440

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -1,14 +1,14 @@
1
  import gradio as gr
2
- from gradio.mix import Paralle
3
 
4
  title="My First Text Generation"
5
  description="Input Text"
6
  examples = [
7
  ["Once apon a time"]
8
- ["Dr Woo was teaching a coding workshop at Hong Kong True Light Collage"]
9
  ]
10
- gr.Interface.load("huggingface/EleutherAI/gpt-j-6B")
11
- gr.Interface.load("huggingface/gpt2")
12
- gr.Interface.load("huggingface/EleutherAI/gpt-neo-125M")
13
 
14
  gr.Parallel(model1, model2, model3, title=title, description=description).launch()
 
1
  import gradio as gr
2
+ from gradio.mix import Parallel
3
 
4
  title="My First Text Generation"
5
  description="Input Text"
6
  examples = [
7
  ["Once apon a time"]
8
+ ["Dr Woo was teaching a coding workshop at Hong Kong True Light College"]
9
  ]
10
+ model1=gr.Interface.load("huggingface/EleutherAI/gpt-j-6B")
11
+ model2=gr.Interface.load("huggingface/gpt2")
12
+ model3=gr.Interface.load("huggingface/EleutherAI/gpt-neo-125M")
13
 
14
  gr.Parallel(model1, model2, model3, title=title, description=description).launch()