Spaces:
Running
Running
Update app.py
Browse files
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.
|
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)
|