balaramas commited on
Commit
a9d2412
1 Parent(s): 9726c95

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -1,7 +1,7 @@
1
  import gradio as gr
2
 
3
  iface = gr.Interface(
4
- fn="models/balaramas/mbart-sahitrans_new_data",
5
  inputs=gr.Textbox(label="Enter text in Sanskrit", placeholder="Type here..."),
6
  outputs=gr.Textbox(label="Translated Hindi Text"),
7
  title="Sanskrit to Hindi Translator"
 
1
  import gradio as gr
2
 
3
  iface = gr.Interface(
4
+ fn=gr.load("models/balaramas/mbart-sahitrans_new_data"),
5
  inputs=gr.Textbox(label="Enter text in Sanskrit", placeholder="Type here..."),
6
  outputs=gr.Textbox(label="Translated Hindi Text"),
7
  title="Sanskrit to Hindi Translator"