Spaces:
Running
on
Zero
Running
on
Zero
PengLiu
commited on
Commit
·
ae392b9
1
Parent(s):
7b7c805
update
Browse files- demo/gradio_demo.py +0 -2
demo/gradio_demo.py
CHANGED
|
@@ -250,8 +250,6 @@ def run_step(description, command):
|
|
| 250 |
print(f"--- {description} successfully ---")
|
| 251 |
|
| 252 |
if __name__ == "__main__":
|
| 253 |
-
run_step("compile and install local 'ops' package",
|
| 254 |
-
"pip install --no-build-isolation -e ./VLM-FO1/detect_tools/upn/ops")
|
| 255 |
model_path = 'omlab/VLM-FO1_Qwen2.5-VL-3B-v01'
|
| 256 |
upn_ckpt_path = "./resources/upn_large.pth"
|
| 257 |
tokenizer, model, image_processors = load_pretrained_model(
|
|
|
|
| 250 |
print(f"--- {description} successfully ---")
|
| 251 |
|
| 252 |
if __name__ == "__main__":
|
|
|
|
|
|
|
| 253 |
model_path = 'omlab/VLM-FO1_Qwen2.5-VL-3B-v01'
|
| 254 |
upn_ckpt_path = "./resources/upn_large.pth"
|
| 255 |
tokenizer, model, image_processors = load_pretrained_model(
|