mipra commited on
Commit
01b5475
·
1 Parent(s): c556072

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -33,6 +33,6 @@ model = AutoModelForSeq2SeqLM.from_pretrained("salesken/translation-hi-en")
33
 
34
  # due to covid, we have reduced our debt interest
35
 
36
-
37
- iface = gr.Interface(fn=translate, inputs="text",outputs=gr.Gallery(), examples="पानी पे चलती रेलगाड़ी पहाड़ के बीच में")
38
  iface.launch()
 
33
 
34
  # due to covid, we have reduced our debt interest
35
 
36
+ exp = [["पानी पे चलती रेलगाड़ी पहाड़ के बीच में"]]
37
+ iface = gr.Interface(fn=translate, inputs="text",outputs=gr.Gallery(), examples=exp)
38
  iface.launch()