Spaces:
Runtime error
Runtime error
Create app.py
Browse files
app.py
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
generator = gr.Interface.load("huggingface/gpt2")
|
| 2 |
+
translator = gr.Interface.load("huggingface/t5-small")
|
| 3 |
+
|
| 4 |
+
gr.Series(generator, translator).launch() # this demo generates text, then translates it to German, and outputs the final result.
|