Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -429,9 +429,8 @@ def detect_objects(image: np.ndarray):
|
|
429 |
|
430 |
return Image.fromarray(annotated_image)
|
431 |
|
432 |
-
# ---------------------------
|
433 |
# Phi-4 Multimodal Model Setup with Text Streaming
|
434 |
-
|
435 |
phi4_model_path = "microsoft/Phi-4-multimodal-instruct"
|
436 |
|
437 |
phi4_processor = AutoProcessor.from_pretrained(phi4_model_path, trust_remote_code=True)
|
|
|
429 |
|
430 |
return Image.fromarray(annotated_image)
|
431 |
|
|
|
432 |
# Phi-4 Multimodal Model Setup with Text Streaming
|
433 |
+
|
434 |
phi4_model_path = "microsoft/Phi-4-multimodal-instruct"
|
435 |
|
436 |
phi4_processor = AutoProcessor.from_pretrained(phi4_model_path, trust_remote_code=True)
|