Adarsh203 commited on
Commit
0170905
·
verified ·
1 Parent(s): 41ccd5d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -22,8 +22,8 @@ def summary(text):
22
  #create and launch the gradio interface
23
  gr.Interface(
24
  fn=summary,
25
- inputs=gr.inputs.Textbox(lines=30,label="News Article"),
26
- outputs=gr.outputs.Textbox(label="Summary",type="auto",lines=10),
27
  title="Nepali News Summarize",
28
  description="Summarize the Nepali News Articles",
29
  theme="compact"
 
22
  #create and launch the gradio interface
23
  gr.Interface(
24
  fn=summary,
25
+ inputs=gr.Textbox.inputs(label="News Article"),
26
+ outputs=gr.Textbox.outputs(label="Summary",type="auto"),
27
  title="Nepali News Summarize",
28
  description="Summarize the Nepali News Articles",
29
  theme="compact"