Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -3,9 +3,4 @@ from gradio.mix import Parallel, Series
|
|
3 |
summarization = gr.Interface.load("models/ieuniversity/pangea_summarization_model")
|
4 |
translation = gr.Interface.load("models/ieuniversity/pangea_translation_model")
|
5 |
|
6 |
-
Series(summarization, translation,
|
7 |
-
inputs =
|
8 |
-
gr.Textbox(
|
9 |
-
lines = 1,
|
10 |
-
label="Copy a news article in English below."),
|
11 |
-
theme = "red").launch()
|
|
|
3 |
summarization = gr.Interface.load("models/ieuniversity/pangea_summarization_model")
|
4 |
translation = gr.Interface.load("models/ieuniversity/pangea_translation_model")
|
5 |
|
6 |
+
Series(summarization, translation,inputs=gr.inputs.Textbox(lines = 30,label="Copy a news article in English below!"),theme = "red").launch()
|
|
|
|
|
|
|
|
|
|