Update app.py
Browse files
app.py
CHANGED
@@ -9,7 +9,7 @@ from transformers import AutoProcessor, AutoModelForCausalLM
|
|
9 |
|
10 |
|
11 |
# Load model and processor, enabling trust_remote_code if needed
|
12 |
-
model_name = "PJMixers-Images/Florence-2-base-Castollux-v0.
|
13 |
model = AutoModelForCausalLM.from_pretrained(model_name, trust_remote_code=True).eval()
|
14 |
processor = AutoProcessor.from_pretrained(model_name, trust_remote_code=True)
|
15 |
|
|
|
9 |
|
10 |
|
11 |
# Load model and processor, enabling trust_remote_code if needed
|
12 |
+
model_name = "PJMixers-Images/Florence-2-base-Castollux-v0.6"
|
13 |
model = AutoModelForCausalLM.from_pretrained(model_name, trust_remote_code=True).eval()
|
14 |
processor = AutoProcessor.from_pretrained(model_name, trust_remote_code=True)
|
15 |
|