frendyrachman commited on
Commit
ac0c572
Β·
verified Β·
1 Parent(s): c0dfddb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -6
app.py CHANGED
@@ -181,7 +181,7 @@ def main_process(files, tanggal_berangkat, tanggal_pulang):
181
 
182
  # Gradio UI update: add ".zip" to accepted file types
183
  with gr.Blocks() as demo:
184
- gr.Markdown("## 🧠 Document Analyzer using Gemini AI for Visa Document Checking ✈️ ")
185
 
186
  file_input = gr.File(
187
  label="Upload PDFs, Images or ZIP files (Multiple Supported)",
@@ -200,11 +200,9 @@ with gr.Blocks() as demo:
200
  placeholder="Masukan Tanggal Kepulangan",
201
  type="text"
202
  )
203
- with gr.Row():
204
- run_btn = gr.Button("πŸƒ Run Analysis")
205
- download_output = gr.File(label="πŸ“₯ Download Summary as DOCX", visible=True)
206
-
207
- output = gr.Textbox(label="πŸ“ Summary Result", lines=20)
208
 
209
  run_btn.click(fn=main_process,
210
  inputs=[file_input, tanggal_berangkat, tanggal_pulang],
 
181
 
182
  # Gradio UI update: add ".zip" to accepted file types
183
  with gr.Blocks() as demo:
184
+ gr.Markdown("## 🧠 Noura the Document Checker ✈️ ")
185
 
186
  file_input = gr.File(
187
  label="Upload PDFs, Images or ZIP files (Multiple Supported)",
 
200
  placeholder="Masukan Tanggal Kepulangan",
201
  type="text"
202
  )
203
+ run_btn = gr.Button("πŸƒ Run Analysis")
204
+ download_output = gr.File(label="πŸ“₯ Download Summary as DOCX", visible=True)
205
+ output = gr.Textbox(label="πŸ“ Summary Result", lines=50)
 
 
206
 
207
  run_btn.click(fn=main_process,
208
  inputs=[file_input, tanggal_berangkat, tanggal_pulang],