Update app.py
Browse files
app.py
CHANGED
@@ -12,7 +12,7 @@ from threading import Thread
|
|
12 |
import torch
|
13 |
import spaces
|
14 |
|
15 |
-
model_id = "
|
16 |
model = AutoModelForCausalLM.from_pretrained(model_id, device_map="cuda", trust_remote_code=True, torch_dtype="auto")
|
17 |
processor = AutoProcessor.from_pretrained(model_id, trust_remote_code=True)
|
18 |
model.to("cuda:0")
|
|
|
12 |
import torch
|
13 |
import spaces
|
14 |
|
15 |
+
model_id = "Desm0nt/Phi-3-HornyVision-128k-instruct"
|
16 |
model = AutoModelForCausalLM.from_pretrained(model_id, device_map="cuda", trust_remote_code=True, torch_dtype="auto")
|
17 |
processor = AutoProcessor.from_pretrained(model_id, trust_remote_code=True)
|
18 |
model.to("cuda:0")
|