555
Browse files
app.py
CHANGED
@@ -43,4 +43,7 @@ with gr.Blocks(css = ".output {min-height: 500px}") as demo:
|
|
43 |
text_button.click(textInput.text_dump_to_lines, inputs=[text_input,topic_num,max_length], outputs=[text_keys_output,text_ab_output,file_txt_output,file_docx_output,file_pdf_output])
|
44 |
file_button.click(textInput.file_dump_to_lines,inputs=[file_input,topic_num,max_length], outputs=[text_keys_output,text_ab_output,file_txt_output,file_docx_output,file_pdf_output])
|
45 |
|
46 |
-
|
|
|
|
|
|
|
|
43 |
text_button.click(textInput.text_dump_to_lines, inputs=[text_input,topic_num,max_length], outputs=[text_keys_output,text_ab_output,file_txt_output,file_docx_output,file_pdf_output])
|
44 |
file_button.click(textInput.file_dump_to_lines,inputs=[file_input,topic_num,max_length], outputs=[text_keys_output,text_ab_output,file_txt_output,file_docx_output,file_pdf_output])
|
45 |
|
46 |
+
try:
|
47 |
+
demo.queue().launch()
|
48 |
+
except Exception as e:
|
49 |
+
print("error",e)
|