Update app.py
Browse files
app.py
CHANGED
@@ -46,7 +46,7 @@ def get_model_processor():
|
|
46 |
# Load the processor
|
47 |
processor = AutoProcessor.from_pretrained("Qwen/Qwen2-VL-2B-Instruct", min_pixels=MIN_PIXELS, max_pixels=MAX_PIXELS)
|
48 |
|
49 |
-
return model,
|
50 |
|
51 |
model, processor = get_model_processor()
|
52 |
|
|
|
46 |
# Load the processor
|
47 |
processor = AutoProcessor.from_pretrained("Qwen/Qwen2-VL-2B-Instruct", min_pixels=MIN_PIXELS, max_pixels=MAX_PIXELS)
|
48 |
|
49 |
+
return model, processor
|
50 |
|
51 |
model, processor = get_model_processor()
|
52 |
|