Update app.py
Browse files
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"
|