Update app.py
Browse files
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 |
-
|
|
|
|
|
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.")
|