Spaces:
Runtime error
Runtime error
my model
Browse files
app.py
CHANGED
|
@@ -22,7 +22,7 @@ class CustomModelChat:
|
|
| 22 |
self.processor = AutoProcessor.from_pretrained(model_id)
|
| 23 |
|
| 24 |
# Load your custom adapter
|
| 25 |
-
adapter_path = "
|
| 26 |
self.model.load_adapter(adapter_path)
|
| 27 |
except Exception as e:
|
| 28 |
logger.error(f"Error initializing model: {e}")
|
|
|
|
| 22 |
self.processor = AutoProcessor.from_pretrained(model_id)
|
| 23 |
|
| 24 |
# Load your custom adapter
|
| 25 |
+
adapter_path = "smolvlm-instruct-trl-sft-ChartQA"
|
| 26 |
self.model.load_adapter(adapter_path)
|
| 27 |
except Exception as e:
|
| 28 |
logger.error(f"Error initializing model: {e}")
|