Harveenchadha commited on
Commit
00372b9
·
1 Parent(s): 0914f4b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -1,5 +1,5 @@
1
  import os
2
- #import gradio as gr
3
 
4
  os.system('wget -q https://storage.googleapis.com/vakyaansh-open-models/translation_models/en-indic.zip')
5
  os.system('unzip /home/user/app/en-indic.zip')
@@ -18,5 +18,5 @@ def translate(text):
18
 
19
  print(translate('helo how are you'))
20
 
21
- #iface = gr.Interface(fn=translate, inputs="text", outputs="text")
22
- #iface.launch()
 
1
  import os
2
+ import gradio as gr
3
 
4
  os.system('wget -q https://storage.googleapis.com/vakyaansh-open-models/translation_models/en-indic.zip')
5
  os.system('unzip /home/user/app/en-indic.zip')
 
18
 
19
  print(translate('helo how are you'))
20
 
21
+ iface = gr.Interface(fn=translate, inputs="text", outputs="text")
22
+ iface.launch()