Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -4,11 +4,11 @@ summarization = gr.Interface.load("models/ieuniversity/pangea_summarization_mode
|
|
4 |
translation = gr.Interface.load("models/ieuniversity/pangea_translation_model")
|
5 |
|
6 |
demo = gr.Series(summarization, translation,
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
|
13 |
if __name__ == "__main__":
|
14 |
demo.launch()
|
|
|
4 |
translation = gr.Interface.load("models/ieuniversity/pangea_translation_model")
|
5 |
|
6 |
demo = gr.Series(summarization, translation,
|
7 |
+
title='PANGEA',
|
8 |
+
description='Pangea is a space that allows you to enter a English news article in text format and receive its traslated summary in Turkish!',
|
9 |
+
inputs=gr.inputs.Textbox(lines = 10,label="Copy a news article in English below!"),
|
10 |
+
theme ='freddyaboulton/dracula_revamped',
|
11 |
+
thumbnail = 'ieuniversity/Pangea/pangea.jpg' )
|
12 |
|
13 |
if __name__ == "__main__":
|
14 |
demo.launch()
|