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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -184,9 +184,7 @@ def process_images(uploaded_file):
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.")
 
184
  # Return HTML and the path to the CSV file
185
  return html_output, temp_file.name
186
 
187
+ with gr.Blocks(theme="gradio/seafoam") 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.")