Update interface.py
Browse files- interface.py +2 -2
interface.py
CHANGED
|
@@ -190,7 +190,7 @@ def process_mapping(product_list, dense_weight=0.7, sparse_weight=0.3, normalize
|
|
| 190 |
return status, dataframe
|
| 191 |
|
| 192 |
|
| 193 |
-
with gr.Blocks(title="Multimodal OCR and Product Mapping"
|
| 194 |
gr.Markdown(
|
| 195 |
"""
|
| 196 |
# Multimodal OCR and Product Mapping Interface
|
|
@@ -276,4 +276,4 @@ with gr.Blocks(title="Multimodal OCR and Product Mapping", theme=gr.themes.Soft(
|
|
| 276 |
|
| 277 |
|
| 278 |
if __name__ == "__main__":
|
| 279 |
-
demo.launch()
|
|
|
|
| 190 |
return status, dataframe
|
| 191 |
|
| 192 |
|
| 193 |
+
with gr.Blocks(title="Multimodal OCR and Product Mapping") as demo:
|
| 194 |
gr.Markdown(
|
| 195 |
"""
|
| 196 |
# Multimodal OCR and Product Mapping Interface
|
|
|
|
| 276 |
|
| 277 |
|
| 278 |
if __name__ == "__main__":
|
| 279 |
+
demo.launch(css=custom_css, theme=gr.themes.Soft())
|