Spaces:
Running
Running
removed qwn
Browse files
app.py
CHANGED
@@ -8,8 +8,6 @@ from transformers import AutoProcessor, AutoModelForImageTextToText
|
|
8 |
|
9 |
# Load the model and processor
|
10 |
model_id = "brucewayne0459/paligemma_derm"
|
11 |
-
processor_chat = AutoProcessor.from_pretrained("Qwen/Qwen2-VL-7B-Instruct")
|
12 |
-
model_chat = AutoModelForImageTextToText.from_pretrained("Qwen/Qwen2-VL-7B-Instruct")
|
13 |
processor = AutoProcessor.from_pretrained(model_id)
|
14 |
model = PaliGemmaForConditionalGeneration.from_pretrained(model_id)
|
15 |
model.eval()
|
|
|
8 |
|
9 |
# Load the model and processor
|
10 |
model_id = "brucewayne0459/paligemma_derm"
|
|
|
|
|
11 |
processor = AutoProcessor.from_pretrained(model_id)
|
12 |
model = PaliGemmaForConditionalGeneration.from_pretrained(model_id)
|
13 |
model.eval()
|