Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -12,7 +12,7 @@ from urllib.request import urlretrieve
|
|
12 |
warnings.filterwarnings("ignore", category=UserWarning, message="Overriding torch_dtype=None")
|
13 |
|
14 |
# --- 1. Tải Model và Processor ---
|
15 |
-
MODEL_ID = "sunbv56/qwen2.5-vl-vqa-vibook
|
16 |
print(f"🚀 Đang tải model '{MODEL_ID}' và processor...")
|
17 |
try:
|
18 |
dtype = torch.bfloat16 if torch.cuda.is_available() and torch.cuda.is_bf16_supported() else torch.float16
|
|
|
12 |
warnings.filterwarnings("ignore", category=UserWarning, message="Overriding torch_dtype=None")
|
13 |
|
14 |
# --- 1. Tải Model và Processor ---
|
15 |
+
MODEL_ID = "sunbv56/qwen2.5-vl-vqa-vibook"
|
16 |
print(f"🚀 Đang tải model '{MODEL_ID}' và processor...")
|
17 |
try:
|
18 |
dtype = torch.bfloat16 if torch.cuda.is_available() and torch.cuda.is_bf16_supported() else torch.float16
|