KoreaPeter commited on
Commit
b90c831
·
verified ·
1 Parent(s): c8f88f4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -6
app.py CHANGED
@@ -227,12 +227,14 @@ with gr.Blocks(title="DeepGuard XAI") as demo:
227
  with gr.Row():
228
  with gr.Column(scale=1, min_width=320):
229
  image_input = gr.Image(type="pil", label="Upload Image", height=400)
230
- gr.Examples(
231
- examples=["example.JPG"],
232
- inputs=image_input,
233
- label="Example",
234
- )
235
-
 
 
236
  gr.Markdown("### ⚡ Model Variant")
237
  variant_radio = gr.Radio(
238
  choices=["fast", "pro"],
 
227
  with gr.Row():
228
  with gr.Column(scale=1, min_width=320):
229
  image_input = gr.Image(type="pil", label="Upload Image", height=400)
230
+ with gr.Accordion("🖼️ Example Images — (click to expand)", open=False):
231
+ gr.Examples(
232
+ examples=["example.JPG"],
233
+ inputs=image_input,
234
+ label="",
235
+ )
236
+
237
+
238
  gr.Markdown("### ⚡ Model Variant")
239
  variant_radio = gr.Radio(
240
  choices=["fast", "pro"],