Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -9,7 +9,7 @@ import torch
|
|
| 9 |
from PIL import Image
|
| 10 |
|
| 11 |
models = {
|
| 12 |
-
"microsoft/Phi-3.5-vision-instruct": AutoModelForCausalLM.from_pretrained("microsoft/Phi-3.5-vision-instruct", trust_remote_code=True, torch_dtype="auto"
|
| 13 |
}
|
| 14 |
|
| 15 |
processors = {
|
|
|
|
| 9 |
from PIL import Image
|
| 10 |
|
| 11 |
models = {
|
| 12 |
+
"microsoft/Phi-3.5-vision-instruct": AutoModelForCausalLM.from_pretrained("microsoft/Phi-3.5-vision-instruct", trust_remote_code=True, torch_dtype="auto").cuda().eval()
|
| 13 |
}
|
| 14 |
|
| 15 |
processors = {
|