Spaces:
Sleeping
Sleeping
Commit
·
63152db
1
Parent(s):
f504910
Fix: interface update
Browse files- app.py +2 -2
- requirements.txt +1 -1
app.py
CHANGED
@@ -61,11 +61,11 @@ with gr.Blocks() as interface:
|
|
61 |
"""
|
62 |
|
63 |
with gr.Blocks() as interface:
|
64 |
-
gr.Markdown("# XAI:
|
65 |
gr.Markdown("Select a sample image to visualize object detection.")
|
66 |
|
67 |
with gr.Row():
|
68 |
-
sample_selection = gr.
|
69 |
choices=list(sample_images.keys()),
|
70 |
label="Select a Sample Image",
|
71 |
type="value",
|
|
|
61 |
"""
|
62 |
|
63 |
with gr.Blocks() as interface:
|
64 |
+
gr.Markdown("# XAI: Visualize Object Detection of Your Models")
|
65 |
gr.Markdown("Select a sample image to visualize object detection.")
|
66 |
|
67 |
with gr.Row():
|
68 |
+
sample_selection = gr.Radio(
|
69 |
choices=list(sample_images.keys()),
|
70 |
label="Select a Sample Image",
|
71 |
type="value",
|
requirements.txt
CHANGED
@@ -5,6 +5,6 @@ numpy
|
|
5 |
pillow
|
6 |
opencv-python
|
7 |
grad-cam==1.4.8
|
8 |
-
gradio
|
9 |
ultralytics
|
10 |
torchcam
|
|
|
5 |
pillow
|
6 |
opencv-python
|
7 |
grad-cam==1.4.8
|
8 |
+
gradio>=3.37.0
|
9 |
ultralytics
|
10 |
torchcam
|