Spaces:
Runtime error
Runtime error
shamikbose89
commited on
Commit
•
f585723
1
Parent(s):
be2e7b1
Update app.py
Browse files
app.py
CHANGED
@@ -2,7 +2,7 @@ import gradio as gr
|
|
2 |
from gradio.mix import Parallel
|
3 |
|
4 |
distilbart_model = "huggingface/sshleifer/distilbart-cnn-12-6"
|
5 |
-
model_name = "huggingface
|
6 |
base_model = gr.Interface.load(distilbart_model)
|
7 |
my_model = gr.Interface.load(model_name, title = "Finetuned model output", inputs = "text", outputs="text")
|
8 |
Parallel(base_model, my_model)
|
|
|
2 |
from gradio.mix import Parallel
|
3 |
|
4 |
distilbart_model = "huggingface/sshleifer/distilbart-cnn-12-6"
|
5 |
+
model_name = "huggingface/google/pegasus-large"
|
6 |
base_model = gr.Interface.load(distilbart_model)
|
7 |
my_model = gr.Interface.load(model_name, title = "Finetuned model output", inputs = "text", outputs="text")
|
8 |
Parallel(base_model, my_model)
|