Spaces:
Running
on
Zero
Running
on
Zero
Update theme
Browse files
app.py
CHANGED
@@ -10,7 +10,7 @@ import torch
|
|
10 |
from transformers import AutoProcessor, Qwen2_5_VLForConditionalGeneration
|
11 |
from qwen_vl_utils import process_vision_info
|
12 |
from spaces import GPU
|
13 |
-
from gradio.themes.
|
14 |
|
15 |
# --- Config ---
|
16 |
model = Qwen2_5_VLForConditionalGeneration.from_pretrained(
|
@@ -130,7 +130,7 @@ button#gradio-share-link-button-0 {
|
|
130 |
"""
|
131 |
|
132 |
# --- Gradio Interface ---
|
133 |
-
with gr.Blocks(theme=
|
134 |
|
135 |
gr.Markdown("# Object Understanding with Vision Language Models")
|
136 |
gr.Markdown("### Explore object detection, visual grounding, keypoint detection, and/or object counting through natural language prompts.")
|
|
|
10 |
from transformers import AutoProcessor, Qwen2_5_VLForConditionalGeneration
|
11 |
from qwen_vl_utils import process_vision_info
|
12 |
from spaces import GPU
|
13 |
+
from gradio.themes.ocean import Ocean
|
14 |
|
15 |
# --- Config ---
|
16 |
model = Qwen2_5_VLForConditionalGeneration.from_pretrained(
|
|
|
130 |
"""
|
131 |
|
132 |
# --- Gradio Interface ---
|
133 |
+
with gr.Blocks(theme=Ocean(), css=css_hide_share) as demo:
|
134 |
|
135 |
gr.Markdown("# Object Understanding with Vision Language Models")
|
136 |
gr.Markdown("### Explore object detection, visual grounding, keypoint detection, and/or object counting through natural language prompts.")
|