Update app.py
Browse files
app.py
CHANGED
@@ -13,4 +13,6 @@ def translate(text):
|
|
13 |
|
14 |
#response = opus_translator(text)
|
15 |
return response
|
16 |
-
grad.
|
|
|
|
|
|
13 |
|
14 |
#response = opus_translator(text)
|
15 |
return response
|
16 |
+
txt=grad.Textbox(lines=1, label="English", placeholder="English Text here"))
|
17 |
+
out=grad.Textbox(lines=1, label="French")
|
18 |
+
grad.Interface(translate, inputs=txt, outputs=out).launch()
|