Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -5,9 +5,10 @@ from gradio.mix import Parallel, Series
|
|
5 |
#instantiate variables as functions
|
6 |
model1 = gr.Interface.load("huggingface/EleutherAI/gpt-j-6B")
|
7 |
model2 = gr.Interface.load("huggingface/google/flan-t5-xl")
|
8 |
-
model3 = gr.Interface.load("huggingface/Wootang01/distilgpt2-finetuned-prayerjournals")
|
9 |
-
|
10 |
-
|
11 |
-
|
|
|
12 |
|
13 |
demo.launch(debug=True)
|
|
|
5 |
#instantiate variables as functions
|
6 |
model1 = gr.Interface.load("huggingface/EleutherAI/gpt-j-6B")
|
7 |
model2 = gr.Interface.load("huggingface/google/flan-t5-xl")
|
8 |
+
#model3 = gr.Interface.load("huggingface/Wootang01/distilgpt2-finetuned-prayerjournals")
|
9 |
+
model4 = gr.Interface.load("huggingface/bigscience/bloomz-1b7")
|
10 |
+
#translator = gr.Interface.load("huggingface/Helsinki-NLP/opus-mt-zh-en")
|
11 |
+
output = gr.Parallel(model1, model2, model4).launch()
|
12 |
+
#demo = gr.Series(translator, output, inputs=gr.Textbox(lines=5, label="Input Text"), title=title, description=description)
|
13 |
|
14 |
demo.launch(debug=True)
|