astro21 commited on
Commit
df5f468
1 Parent(s): ed3964c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -53,7 +53,7 @@ def summarize_text_file(file):
53
  return summarize_text(content)
54
 
55
 
56
- input_type = gr.TextBox("textbox" , lines = 15)
57
 
58
  # Name the outputs using the label parameter and provide a download option
59
  demo = gr.Interface(fn=summarize_text_file, inputs=input_type,
 
53
  return summarize_text(content)
54
 
55
 
56
+ input_type = gr.inputs.TextBox("textbox" , lines = 15)
57
 
58
  # Name the outputs using the label parameter and provide a download option
59
  demo = gr.Interface(fn=summarize_text_file, inputs=input_type,