Adarsh203 commited on
Commit
254780b
·
verified ·
1 Parent(s): 0170905

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.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"
 
22
  #create and launch the gradio interface
23
  gr.Interface(
24
  fn=summary,
25
+ inputs="textbox",
26
+ outputs="textbox",
27
  title="Nepali News Summarize",
28
  description="Summarize the Nepali News Articles",
29
  theme="compact"