balaramas commited on
Commit
213cab7
1 Parent(s): 2c202e2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -1
app.py CHANGED
@@ -1,3 +1,9 @@
1
  import gradio as gr
2
 
3
- gr.load("models/balaramas/mbart-enhiriser").launch()
 
 
 
 
 
 
 
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()