Spaces:
Running
on
Zero
Running
on
Zero
update app.py
Browse files
app.py
CHANGED
@@ -6,7 +6,7 @@ import torch
|
|
6 |
import time
|
7 |
|
8 |
# Specify the local cache path for models
|
9 |
-
local_path = "Fancy-MLLM/R1-OneVision
|
10 |
|
11 |
# Load model and processor
|
12 |
model = Qwen2_5_VLForConditionalGeneration.from_pretrained(
|
@@ -88,7 +88,7 @@ Css = """
|
|
88 |
"""
|
89 |
|
90 |
with gr.Blocks(css=Css) as demo:
|
91 |
-
gr.HTML("""<center><font size=8>🦖 R1-
|
92 |
|
93 |
with gr.Row():
|
94 |
with gr.Column():
|
|
|
6 |
import time
|
7 |
|
8 |
# Specify the local cache path for models
|
9 |
+
local_path = "Fancy-MLLM/R1-OneVision-7B"
|
10 |
|
11 |
# Load model and processor
|
12 |
model = Qwen2_5_VLForConditionalGeneration.from_pretrained(
|
|
|
88 |
"""
|
89 |
|
90 |
with gr.Blocks(css=Css) as demo:
|
91 |
+
gr.HTML("""<center><font size=8>🦖 R1-OneVision Demo</center>""")
|
92 |
|
93 |
with gr.Row():
|
94 |
with gr.Column():
|