grixelle commited on
Commit
e3b1c2c
·
verified ·
1 Parent(s): c3b8d1d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -4
app.py CHANGED
@@ -1,5 +1,4 @@
1
  import gradio as gr
2
- from gradio_imageslider import ImageSlider # Import the custom UI plugin
3
  from google import genai
4
  import os
5
 
@@ -83,11 +82,11 @@ with gr.Blocks(theme=gr.themes.Soft(), css=custom_css) as demo:
83
 
84
  # Right Side: The "Executive Summary"
85
  with gr.Column(scale=1):
86
- # The CSS Badge renders immediately at the top
87
  status_badge = gr.HTML()
88
 
89
- # The plugin component handles the swipe functionality
90
- slider_out = ImageSlider(label="Spatial Delta Comparison", type="pil")
91
 
92
 
93
  # The Accordion keeps the raw LLM output hidden until needed
 
1
  import gradio as gr
 
2
  from google import genai
3
  import os
4
 
 
82
 
83
  # Right Side: The "Executive Summary"
84
  with gr.Column(scale=1):
85
+ # The CSS Badge renders immediately at the top
86
  status_badge = gr.HTML()
87
 
88
+ # USE THE NATIVE GRADIO 5 COMPONENT
89
+ slider_out = gr.ImageSlider(label="Spatial Delta Comparison", type="pil")
90
 
91
 
92
  # The Accordion keeps the raw LLM output hidden until needed