Nikoodrk commited on
Commit
33e39f4
·
1 Parent(s): 70711bb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -1
app.py CHANGED
@@ -3,4 +3,11 @@ 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,inputs=gr.inputs.Textbox(lines = 30,label="Copy a news article in English below!"),title="PANGEA",description="Pangea is a space that allows you to enter a English news article in text format and receive its traslated summary in Turkish ",theme = "grass").launch()
 
 
 
 
 
 
 
 
3
  summarization = gr.Interface.load("models/ieuniversity/pangea_summarization_model")
4
  translation = gr.Interface.load("models/ieuniversity/pangea_translation_model")
5
 
6
+ demo = 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 = 30,label="Copy a news article in English below!"),
10
+ theme = "grass").launch()
11
+
12
+ if __name__ == "__main__":
13
+ demo.launch()