YoHoCo0o0 commited on
Commit
103f317
1 Parent(s): 13b02fb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -7
app.py CHANGED
@@ -1,14 +1,12 @@
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, examples=examples).launch()
 
1
  import gradio as gr
2
  from gradio.mix import Parallel
3
 
4
+ title="My First Text Generator"
5
+ description="Input Text."
6
+
7
+
 
 
8
  model1=gr.Interface.load("huggingface/EleutherAI/gpt-j-6B")
9
  model2=gr.Interface.load("huggingface/gpt2")
10
  model3=gr.Interface.load("huggingface/EleutherAI/gpt-neo-125M")
11
 
12
+ gr.Parallel(model1, model2, model3, title=title, description=description).launch()