Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -6,7 +6,7 @@ from transformers import AutoProcessor, AutoModelForImageTextToText
|
|
| 6 |
import torch
|
| 7 |
import spaces
|
| 8 |
from peft import PeftModel
|
| 9 |
-
from transformers import AutoModelForCausalLM
|
| 10 |
|
| 11 |
# Function to process vision information
|
| 12 |
def process_vision_info(messages: list[dict]) -> list[Image.Image]:
|
|
|
|
| 6 |
import torch
|
| 7 |
import spaces
|
| 8 |
from peft import PeftModel
|
| 9 |
+
from transformers import AutoModelForCausalLM, AutoTokenizer
|
| 10 |
|
| 11 |
# Function to process vision information
|
| 12 |
def process_vision_info(messages: list[dict]) -> list[Image.Image]:
|