abidlabs HF Staff commited on
Commit
e62a706
·
1 Parent(s): 51c29a5

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -0
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.