Update app.py
Browse files
app.py
CHANGED
@@ -267,7 +267,7 @@ with iface:
|
|
267 |
# text_input.change(classify_text, inputs=text_input, outputs=result_output)
|
268 |
|
269 |
starttextprocessing_button = gr.Button("Start text processing")
|
270 |
-
starttextprocessing_button.click(fn=
|
271 |
|
272 |
gr.Markdown("## Option 2: Upload multiple files for batch classification")
|
273 |
file_input = gr.File(label="Upload PDF or Text Files", file_types=[".pdf", ".txt", ".py", ".ipynb"], file_count="multiple")
|
|
|
267 |
# text_input.change(classify_text, inputs=text_input, outputs=result_output)
|
268 |
|
269 |
starttextprocessing_button = gr.Button("Start text processing")
|
270 |
+
starttextprocessing_button.click(fn=classify_text, inputs=text_input, outputs=result_output)
|
271 |
|
272 |
gr.Markdown("## Option 2: Upload multiple files for batch classification")
|
273 |
file_input = gr.File(label="Upload PDF or Text Files", file_types=[".pdf", ".txt", ".py", ".ipynb"], file_count="multiple")
|