Spaces:
Runtime error
Runtime error
macadeliccc
commited on
Commit
·
5355cb8
1
Parent(s):
1099b7d
theme
Browse files
app.py
CHANGED
@@ -131,7 +131,7 @@ def gradio_detect_and_draw(image, text_labels):
|
|
131 |
return processed_image, detections
|
132 |
|
133 |
|
134 |
-
with gr.Blocks() as demo:
|
135 |
gr.Markdown("## Owlv2 Object Detection Demo")
|
136 |
gr.Markdown('Run this space on your own hardware with this command: ```docker run -it -p 7860:7860 --platform=linux/amd64 \
|
137 |
registry.hf.space/macadeliccc-owlv2-base-patch-16-ensemble-demo:latest python app.py```')
|
|
|
131 |
return processed_image, detections
|
132 |
|
133 |
|
134 |
+
with gr.Blocks(gr.themes.Soft()) as demo:
|
135 |
gr.Markdown("## Owlv2 Object Detection Demo")
|
136 |
gr.Markdown('Run this space on your own hardware with this command: ```docker run -it -p 7860:7860 --platform=linux/amd64 \
|
137 |
registry.hf.space/macadeliccc-owlv2-base-patch-16-ensemble-demo:latest python app.py```')
|