Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -21,17 +21,4 @@ demo = gr.Interface(
|
|
21 |
examples=examples
|
22 |
)
|
23 |
|
24 |
-
demo.launch()
|
25 |
-
["<BOS> <sci_fi> After discovering time travel,"],
|
26 |
-
["<BOS> <superhero> Batman"],
|
27 |
-
["<BOS> <drama> Legolas and Gimli advanced on the orcs, raising their weapons with a harrowing war cry"],
|
28 |
-
]
|
29 |
-
|
30 |
-
demo = gr.Interface(
|
31 |
-
fn=generate,
|
32 |
-
inputs=gr.inputs.Textbox(lines=5, label="Input Text"),
|
33 |
-
outputs=gr.outputs.Textbox(label="Generated Text"),
|
34 |
-
examples=examples
|
35 |
-
)
|
36 |
-
|
37 |
-
demo.launch()
|
|
|
21 |
examples=examples
|
22 |
)
|
23 |
|
24 |
+
demo.launch()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|