Spaces:
Runtime error
Runtime error
Harveenchadha
commited on
Commit
·
d6d572c
1
Parent(s):
a2c6feb
Update app.py
Browse files
app.py
CHANGED
@@ -14,5 +14,7 @@ indic2en_model = Model(expdir='en-indic')
|
|
14 |
def translate(text):
|
15 |
return indic2en_model.translate_paragraph(text, 'en', 'hi')
|
16 |
|
17 |
-
|
18 |
-
|
|
|
|
|
|
14 |
def translate(text):
|
15 |
return indic2en_model.translate_paragraph(text, 'en', 'hi')
|
16 |
|
17 |
+
print(translate('helo how are you'))
|
18 |
+
|
19 |
+
#iface = gr.Interface(fn=translate, inputs="text", outputs="text")
|
20 |
+
#iface.launch()
|