Update app.py
Browse files
app.py
CHANGED
@@ -1,3 +1,9 @@
|
|
1 |
import gradio as gr
|
2 |
|
3 |
-
gr.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
import gradio as gr
|
2 |
|
3 |
+
iface = gr.Interface(
|
4 |
+
fn=gr.load("models/balaramas/mbart-enhiriser"),
|
5 |
+
inputs=gr.Textbox(label="Enter the paragraph", placeholder="Type here..."),
|
6 |
+
outputs=gr.Textbox(label="Summarized Text in hindi"),
|
7 |
+
title="English to Hindi Summariser"
|
8 |
+
)
|
9 |
+
iface.launch()
|