Spaces:
Sleeping
Sleeping
Upload app.py with huggingface_hub
Browse files
app.py
CHANGED
|
@@ -20,6 +20,7 @@ if ADAPTER_ID:
|
|
| 20 |
print(f"Loading custom fine-tuned LoRA weights: {ADAPTER_ID}")
|
| 21 |
try:
|
| 22 |
model.load_adapter(ADAPTER_ID)
|
|
|
|
| 23 |
except Exception as e:
|
| 24 |
print(f"Failed to load adapter. Using base model. Error: {e}")
|
| 25 |
|
|
|
|
| 20 |
print(f"Loading custom fine-tuned LoRA weights: {ADAPTER_ID}")
|
| 21 |
try:
|
| 22 |
model.load_adapter(ADAPTER_ID)
|
| 23 |
+
print("✅ Adapter loaded successfully over the base Qwen2-VL engine.")
|
| 24 |
except Exception as e:
|
| 25 |
print(f"Failed to load adapter. Using base model. Error: {e}")
|
| 26 |
|