Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -11,7 +11,7 @@ USE_LORA = False
|
|
| 11 |
USE_QLORA = True
|
| 12 |
|
| 13 |
processor = AutoProcessor.from_pretrained("HuggingFaceM4/idefics2-8b", do_image_splitting=False)
|
| 14 |
-
model =
|
| 15 |
|
| 16 |
# if USE_QLORA or USE_LORA:
|
| 17 |
# lora_config = LoraConfig(
|
|
|
|
| 11 |
USE_QLORA = True
|
| 12 |
|
| 13 |
processor = AutoProcessor.from_pretrained("HuggingFaceM4/idefics2-8b", do_image_splitting=False)
|
| 14 |
+
model = Idefics2ForConditionalGeneration.from_pretrained("HuggingFaceM4/idefics2-8b")
|
| 15 |
|
| 16 |
# if USE_QLORA or USE_LORA:
|
| 17 |
# lora_config = LoraConfig(
|