Simon commited on
Commit
badc90c
·
1 Parent(s): 91b4b2c

change theme

Browse files
Files changed (2) hide show
  1. README.md +1 -0
  2. app.py +2 -2
README.md CHANGED
@@ -5,6 +5,7 @@ colorFrom: gray
5
  colorTo: blue
6
  sdk: gradio
7
  sdk_version: 6.14.0
 
8
  app_file: app.py
9
  pinned: false
10
  license: mit
 
5
  colorTo: blue
6
  sdk: gradio
7
  sdk_version: 6.14.0
8
+ python_version: 3.10.14
9
  app_file: app.py
10
  pinned: false
11
  license: mit
app.py CHANGED
@@ -179,7 +179,7 @@ def analyze_images(image_a, image_b):
179
  # 4. Gradio UI / UX
180
  # ==============================================================================
181
 
182
- with gr.Blocks(theme=gr.themes.Soft()) as demo:
183
  gr.Markdown("# Assistive Diagnostic Framework for Copyright Infringement")
184
  gr.Markdown("Upload two images to compare them across semantic, structural, and literal fragment dimensions.")
185
 
@@ -222,4 +222,4 @@ with gr.Blocks(theme=gr.themes.Soft()) as demo:
222
  )
223
 
224
  if __name__ == "__main__":
225
- demo.launch()
 
179
  # 4. Gradio UI / UX
180
  # ==============================================================================
181
 
182
+ with gr.Blocks() as demo:
183
  gr.Markdown("# Assistive Diagnostic Framework for Copyright Infringement")
184
  gr.Markdown("Upload two images to compare them across semantic, structural, and literal fragment dimensions.")
185
 
 
222
  )
223
 
224
  if __name__ == "__main__":
225
+ demo.launch(theme=gr.themes.Soft())