Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -3,7 +3,7 @@ import torch
|
|
| 3 |
import os
|
| 4 |
import tempfile
|
| 5 |
from huggingface_hub import login
|
| 6 |
-
from transformers import AutoProcessor, AutoModelForVisualQuestionAnswering, infer_device,
|
| 7 |
from accelerate import Accelerator
|
| 8 |
|
| 9 |
# Set the device
|
|
|
|
| 3 |
import os
|
| 4 |
import tempfile
|
| 5 |
from huggingface_hub import login
|
| 6 |
+
from transformers import AutoProcessor, AutoModelForVisualQuestionAnswering, infer_device, AutoModelForVision2Seq
|
| 7 |
from accelerate import Accelerator
|
| 8 |
|
| 9 |
# Set the device
|