Harveenchadha commited on
Commit
d6d572c
1 Parent(s): a2c6feb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -2
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
- iface = gr.Interface(fn=translate, inputs="text", outputs="text")
18
- iface.launch()
 
 
 
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()