Spaces:
Runtime error
Runtime error
Harveenchadha
commited on
Commit
•
dabb276
1
Parent(s):
00372b9
Update app.py
Browse files
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,7 @@ 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 |
+
'''
|
22 |
iface = gr.Interface(fn=translate, inputs="text", outputs="text")
|
23 |
+
iface.launch()
|
24 |
+
'''
|