MHamdan commited on
Commit
50a21e1
·
verified ·
1 Parent(s): 0aebbdf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -67,7 +67,7 @@ def analyze_text(input_text, input_type, tasks, progress=gr.Progress()):
67
  return original_text, summary, sentiment, ", ".join(topics)
68
 
69
  def create_interface():
70
- input_type = gr.inputs.Dropdown(["Text", "URL", "File"], label="Input Type")
71
  text_input = gr.Textbox(visible=False)
72
  url_input = gr.Textbox(visible=False)
73
  file_input = gr.File(visible=False)
 
67
  return original_text, summary, sentiment, ", ".join(topics)
68
 
69
  def create_interface():
70
+ input_type = gr.Dropdown(["Text", "URL", "File"], label="Input Type")
71
  text_input = gr.Textbox(visible=False)
72
  url_input = gr.Textbox(visible=False)
73
  file_input = gr.File(visible=False)