Spaces:
Runtime error
Runtime error
humanbasur
commited on
Commit
•
0c3e6cf
1
Parent(s):
966a09a
Update app.py
Browse files
app.py
CHANGED
@@ -8,6 +8,7 @@ from gradio import inputs
|
|
8 |
from gradio.inputs import Textbox
|
9 |
from gradio import outputs
|
10 |
generator2 = gr.Interface.load("huggingface/EleutherAI/gpt-neo-2.7B", min_length=500)
|
11 |
-
|
|
|
12 |
title=title, examples=examples).launch(share=False)
|
13 |
-
|
8 |
from gradio.inputs import Textbox
|
9 |
from gradio import outputs
|
10 |
generator2 = gr.Interface.load("huggingface/EleutherAI/gpt-neo-2.7B", min_length=500)
|
11 |
+
generator3 = generator("EleutherAI has", do_sample=True, min_length=50)
|
12 |
+
gr.Parallel(generator2, generator3, inputs=gr.inputs.Textbox(lines=5, label="Enter a sentence to get another sentence."),
|
13 |
title=title, examples=examples).launch(share=False)
|
14 |
+
|