mkaramb commited on
Commit
86c1e69
·
verified ·
1 Parent(s): 330c121

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -184,7 +184,9 @@ def process_images(uploaded_file):
184
  # Return HTML and the path to the CSV file
185
  return html_output, temp_file.name
186
 
187
- with gr.Blocks() as interface:
 
 
188
  with gr.Row():
189
  gr.Markdown("# Document AI Translation")
190
  gr.Markdown("Upload a ZIP file containing JPEG/JPG images, and the system will extract and translate text from each image.")
 
184
  # Return HTML and the path to the CSV file
185
  return html_output, temp_file.name
186
 
187
+ my_theme = gr.Theme.from_hub("gradio/seafoam")
188
+
189
+ with gr.Blocks(theme=my_theme) as interface:
190
  with gr.Row():
191
  gr.Markdown("# Document AI Translation")
192
  gr.Markdown("Upload a ZIP file containing JPEG/JPG images, and the system will extract and translate text from each image.")