vsrinivas commited on
Commit
c3eb321
1 Parent(s): 97bb6e4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -8
app.py CHANGED
@@ -9,14 +9,10 @@ def translate(input):
9
  return output['translation_text']
10
 
11
  demo = gr.Interface(fn=translate,
12
- # inputs=[gr.Textbox(label="Text to summarize", lines=6)],
13
- # outputs=[gr.Textbox(label="Result", lines=3)],
14
- # title="Text summarization with distilbart-cnn",
15
- # description="Summarize any text using the `shleifer/distilbart-cnn-12-6` model under the hood!"
16
- inputs=[gr.Textbox(label="What do you want summarize !", lines=6)],
17
- outputs=[gr.Textbox(label="Magic Summarization !!!", lines=3)],
18
- title="Text summarization test and demo app by Srinivas.V ..",
19
- description="Summarize any text",
20
  allow_flagging="never"
21
  )
22
  demo.launch()
 
9
  return output['translation_text']
10
 
11
  demo = gr.Interface(fn=translate,
12
+ inputs=[gr.Textbox(label="English text that you want to translate into Hindi !", lines=6)],
13
+ outputs=[gr.Textbox(label="Translated Hindi Text !!!", lines=3)],
14
+ title="English to Hindi Text translation test and demo app by Srinivas.V ..",
15
+ description="Translates English text into Hindi text",
 
 
 
 
16
  allow_flagging="never"
17
  )
18
  demo.launch()