Update app.py
Browse files
app.py
CHANGED
@@ -9,14 +9,10 @@ def translate(input):
|
|
9 |
return output['translation_text']
|
10 |
|
11 |
demo = gr.Interface(fn=translate,
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
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()
|