Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -309,7 +309,7 @@ def main_process(files, tanggal_berangkat, tanggal_pulang, api_key):
|
|
| 309 |
|
| 310 |
# Gradio UI update: add ".zip" to accepted file types
|
| 311 |
with gr.Blocks() as demo:
|
| 312 |
-
gr.Markdown("
|
| 313 |
|
| 314 |
file_input = gr.File(
|
| 315 |
label="Upload PDFs, Images or ZIP files (Multiple Supported)",
|
|
@@ -340,9 +340,13 @@ with gr.Blocks() as demo:
|
|
| 340 |
download_output_docx = gr.File(label="π₯ Download Summary as DOCX", visible=True)
|
| 341 |
download_valid_zip = gr.File(label="π₯ Download all PDF document in zip", visible=True)
|
| 342 |
|
|
|
|
| 343 |
form_filling_output = gr.Textbox(label="π FORM FILLING RESULT", lines=20)
|
|
|
|
| 344 |
invalid_list_output = gr.Textbox(label="π INVALID DOCUMENT LIST", lines=5)
|
|
|
|
| 345 |
summary_output = gr.Textbox(label="π SUMMARY OUTPUT", lines=5)
|
|
|
|
| 346 |
notice_msg = gr.Textbox(label="π NOTIFICATION MSG", lines=10)
|
| 347 |
raw_output = gr.Textbox(label="π RAW OUTPUT", lines=20)
|
| 348 |
|
|
|
|
| 309 |
|
| 310 |
# Gradio UI update: add ".zip" to accepted file types
|
| 311 |
with gr.Blocks() as demo:
|
| 312 |
+
gr.Markdown("# π§ Noura the Document Checker βοΈ ")
|
| 313 |
|
| 314 |
file_input = gr.File(
|
| 315 |
label="Upload PDFs, Images or ZIP files (Multiple Supported)",
|
|
|
|
| 340 |
download_output_docx = gr.File(label="π₯ Download Summary as DOCX", visible=True)
|
| 341 |
download_valid_zip = gr.File(label="π₯ Download all PDF document in zip", visible=True)
|
| 342 |
|
| 343 |
+
gr.Markdown("## π FORM FILLING RESULT")
|
| 344 |
form_filling_output = gr.Textbox(label="π FORM FILLING RESULT", lines=20)
|
| 345 |
+
gr.Markdown("## π INVALID DOCUMENT LIST")
|
| 346 |
invalid_list_output = gr.Textbox(label="π INVALID DOCUMENT LIST", lines=5)
|
| 347 |
+
gr.Markdown("## π SUMMARY")
|
| 348 |
summary_output = gr.Textbox(label="π SUMMARY OUTPUT", lines=5)
|
| 349 |
+
gr.Markdown("## π NOTIFICATION MESSAGE")
|
| 350 |
notice_msg = gr.Textbox(label="π NOTIFICATION MSG", lines=10)
|
| 351 |
raw_output = gr.Textbox(label="π RAW OUTPUT", lines=20)
|
| 352 |
|