Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -25,7 +25,8 @@ model = Idefics3ForConditionalGeneration.from_pretrained(
|
|
25 |
)
|
26 |
|
27 |
processor = AutoProcessor.from_pretrained(model_id)
|
28 |
-
adapter_path = "sergiopaniego/smolvlm-instruct-trl-dpo-rlaif-v"
|
|
|
29 |
model.load_adapter(adapter_path)
|
30 |
|
31 |
def array_to_image_path(image_array):
|
|
|
25 |
)
|
26 |
|
27 |
processor = AutoProcessor.from_pretrained(model_id)
|
28 |
+
#adapter_path = "sergiopaniego/smolvlm-instruct-trl-dpo-rlaif-v"
|
29 |
+
adapter_path = "HuggingFaceTB/SmolVLM-Instruct-DPO"
|
30 |
model.load_adapter(adapter_path)
|
31 |
|
32 |
def array_to_image_path(image_array):
|