pmgautam commited on
Commit
5e97323
·
1 Parent(s): 896b9a6

Add title and label

Browse files
Files changed (1) hide show
  1. app.py +5 -2
app.py CHANGED
@@ -30,6 +30,9 @@ def predict(text):
30
  examples = ["use this example to see translation in nepali",
31
  "this text is to test english to nepali translation"]
32
  gr.Interface(fn=predict,
33
- inputs=gr.Textbox(),
34
- outputs=gr.Textbox(),
 
 
 
35
  examples=examples).launch()
 
30
  examples = ["use this example to see translation in nepali",
31
  "this text is to test english to nepali translation"]
32
  gr.Interface(fn=predict,
33
+ inputs=gr.Textbox(label="Input text"),
34
+ outputs=gr.Textbox(label="Output text"),
35
+ title="English-to-Nepali Translation",
36
+ article="Author **Pramesh Gautam**, Follow me on [Twitter](https://twitter.com/pmgautam_)",
37
+ css="footer {visibility: hidden}",
38
  examples=examples).launch()