Spaces:
Build error
Build error
Add title and label
Browse files
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()
|