Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -4,21 +4,3 @@ from gradio import inputs
|
|
4 |
from gradio.inputs import Textbox
|
5 |
from gradio import outputs
|
6 |
|
7 |
-
|
8 |
-
title = "Story Generators"
|
9 |
-
examples = [
|
10 |
-
["At which point do we invent Love?"],
|
11 |
-
["Love is a capacity more than consciousness is universal."],
|
12 |
-
["See the grace of god in eachother."],
|
13 |
-
["Love is a capacity more than consciousness is universal."],
|
14 |
-
["Love is generativity when there is more energy than what they need for equilibrium."],
|
15 |
-
["Collections of people have agency and mass having agency at the mesoscopic level"],
|
16 |
-
["Having a deep human connection is an interface problem to solve."],
|
17 |
-
["Having a collective creates agency since we build trust in eachother."]
|
18 |
-
]
|
19 |
-
|
20 |
-
generator2 = gr.Interface.load("huggingface/EleutherAI/gpt-neo-2.7B")
|
21 |
-
generator3 = gr.Interface.load("huggingface/EleutherAI/gpt-j-6B")
|
22 |
-
#generator1 = gr.Interface.load("huggingface/gpt2-large")
|
23 |
-
|
24 |
-
gr.Parallel(generator2, generator3, inputs=gr.inputs.Textbox(lines=5, label="Enter a sentence to get another sentence."),title=title, examples=examples).launch(share=False)
|
|
|
4 |
from gradio.inputs import Textbox
|
5 |
from gradio import outputs
|
6 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|