Spaces:
Running
Running
Commit
·
a121865
1
Parent(s):
0458adb
Update: background template
Browse files
app.py
CHANGED
@@ -46,7 +46,7 @@ def process_image(sample_choice, uploaded_image, yolo_versions=["yolov5"]):
|
|
46 |
result_images.append((Image.fromarray(image), f"{yolo_version} not yet implemented."))
|
47 |
return result_images
|
48 |
|
49 |
-
with gr.Blocks() as interface:
|
50 |
gr.Markdown("# XAI: Visualize Object Detection of Your Models")
|
51 |
gr.Markdown("Select a sample image to visualize object detection.")
|
52 |
default_sample = "Sample 1"
|
|
|
46 |
result_images.append((Image.fromarray(image), f"{yolo_version} not yet implemented."))
|
47 |
return result_images
|
48 |
|
49 |
+
with gr.Blocks(css=".pink-bg { background-color: pink; } .orchid-green { color: #32CD32; font-weight: bold; }") as interface:
|
50 |
gr.Markdown("# XAI: Visualize Object Detection of Your Models")
|
51 |
gr.Markdown("Select a sample image to visualize object detection.")
|
52 |
default_sample = "Sample 1"
|