frendyrachman commited on
Commit
99a3af4
Β·
verified Β·
1 Parent(s): 529a353

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -1
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("## 🧠 Noura the Document Checker ✈️ ")
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