Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -46,7 +46,7 @@ model_x = Qwen2_5_VLForConditionalGeneration.from_pretrained(
|
|
46 |
).to(device).eval()
|
47 |
|
48 |
# Load Relaxed
|
49 |
-
MODEL_ID_Z = "
|
50 |
processor_z = AutoProcessor.from_pretrained(MODEL_ID_Z, trust_remote_code=True)
|
51 |
model_z = Qwen2_5_VLForConditionalGeneration.from_pretrained(
|
52 |
MODEL_ID_Z,
|
@@ -215,7 +215,7 @@ css = """
|
|
215 |
|
216 |
# Create the Gradio Interface
|
217 |
with gr.Blocks(css=css, theme="bethecloud/storj_theme") as demo:
|
218 |
-
gr.Markdown("# **
|
219 |
with gr.Row():
|
220 |
with gr.Column():
|
221 |
with gr.Tabs():
|
|
|
46 |
).to(device).eval()
|
47 |
|
48 |
# Load Relaxed
|
49 |
+
MODEL_ID_Z = "Ertugrul/Qwen2.5-VL-7B-Captioner-Relaxed"
|
50 |
processor_z = AutoProcessor.from_pretrained(MODEL_ID_Z, trust_remote_code=True)
|
51 |
model_z = Qwen2_5_VLForConditionalGeneration.from_pretrained(
|
52 |
MODEL_ID_Z,
|
|
|
215 |
|
216 |
# Create the Gradio Interface
|
217 |
with gr.Blocks(css=css, theme="bethecloud/storj_theme") as demo:
|
218 |
+
gr.Markdown("# **DocScope-R1**")
|
219 |
with gr.Row():
|
220 |
with gr.Column():
|
221 |
with gr.Tabs():
|