Update app.py
Browse files
app.py
CHANGED
@@ -13,6 +13,7 @@ demo = gr.Interface(fn=translate,
|
|
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()
|
|
|
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 |
+
examples = ["India is my country and all Indians are my brothers and sisters. I love my country and I am proud of its rich and varied heritage. I shall always strive to be worthy of it. I shall give my parents, teachers and all elders respect and treat everyone with courtesy. To my country and my people, I pledge my devotion. In their well-being and prosperity alone lies my happiness."]
|
18 |
)
|
19 |
demo.launch()
|