Spaces:
Runtime error
Runtime error
Commit
•
7acb61a
1
Parent(s):
067634b
Update app.py
Browse files
app.py
CHANGED
@@ -4,6 +4,6 @@ from gradio.mix import Parallel
|
|
4 |
distilbart_model = "sshleifer/distilbart-cnn-12-6"
|
5 |
model_name = "shamikbose89/mt5-small-finetuned-arxiv-cs-full"
|
6 |
|
7 |
-
base_model = gr.Interface.load(distilbart_model
|
8 |
-
my_model = gr.Interface
|
9 |
Parallel(base_model, my_model)
|
|
|
4 |
distilbart_model = "sshleifer/distilbart-cnn-12-6"
|
5 |
model_name = "shamikbose89/mt5-small-finetuned-arxiv-cs-full"
|
6 |
|
7 |
+
base_model = gr.Interface.load(distilbart_model)
|
8 |
+
my_model = gr.Interface(model_name, title = "Finetuned model output", inputs = text, outputs=text)
|
9 |
Parallel(base_model, my_model)
|