Phong1 commited on
Commit
cf11efb
·
verified ·
1 Parent(s): 0d0388c

Update interface.py

Browse files
Files changed (1) hide show
  1. 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", theme=gr.themes.Soft()) as demo:
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())