Spaces:
Runtime error
Runtime error
my model
Browse files21 unmodified lines2223242526272821 unmodified linesself.processor = AutoProcessor.from_pretrained(model_id)# Load your custom adapteradapter_path = "/Users/szymon/SmolVLM_Essay_Knowledge_Distillation/smolvlm-instruct-trl-sft-ChartQA"self.model.load_adapter(adapter_path)except Exception as e:logger.error(f"Error initializing model: {e}")21 unmodified lines2223242526272821 unmodified linesself.processor = AutoProcessor.from_pretrained(model_id)# Load your custom adapteradapter_path = "smolVLM_Essay_Knowledge_Distillation/smolvlm-instruct-trl-sft-ChartQA"self.model.load_adapter(adapter_path)except Exception as e:logger.error(f"Error initializing model: {e}")
app.py+1-1