Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -6,7 +6,7 @@ from PIL import Image
|
|
6 |
# Load the model and processor
|
7 |
model_id = "brucewayne0459/paligemma_derm"
|
8 |
processor = AutoProcessor.from_pretrained(model_id)
|
9 |
-
model = PaliGemmaForConditionalGeneration.from_pretrained(model_id
|
10 |
model.eval()
|
11 |
|
12 |
# Set device
|
|
|
6 |
# Load the model and processor
|
7 |
model_id = "brucewayne0459/paligemma_derm"
|
8 |
processor = AutoProcessor.from_pretrained(model_id)
|
9 |
+
model = PaliGemmaForConditionalGeneration.from_pretrained(model_id)
|
10 |
model.eval()
|
11 |
|
12 |
# Set device
|