Nikoodrk commited on
Commit
b558905
·
1 Parent(s): 260e0a1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -5
app.py CHANGED
@@ -4,11 +4,12 @@ summarization = gr.Interface.load("models/ieuniversity/pangea_summarization_mode
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 = 5, label="Copy and paste a news article in English here!"),
10
- theme='gstaff/sketch',
11
- css='div {background-image:url("https://huggingface.co/spaces/ieuniversity/Pangea/blob/main/pangea.png");}')
 
12
 
13
  if __name__ == "__main__":
14
  demo.launch()
 
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 = 5, label="Copy and paste a news article in English here!"),
10
+ theme='gstaff/sketch',
11
+ css='div {background-image:url("https://huggingface.co/spaces/ieuniversity/Pangea/blob/main/pangea.png");}',
12
+ thumbnail='ieuniversity/Pangea/pangea.png')
13
 
14
  if __name__ == "__main__":
15
  demo.launch()