Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -71,6 +71,10 @@ processor = AutoProcessor.from_pretrained("google/medgemma-4b-it")
|
|
| 71 |
model = AutoModelForImageTextToText.from_pretrained("google/medgemma-4b-it", device_map = "cpu")
|
| 72 |
|
| 73 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 74 |
model.eval()
|
| 75 |
|
| 76 |
# Inference function
|
|
|
|
| 71 |
model = AutoModelForImageTextToText.from_pretrained("google/medgemma-4b-it", device_map = "cpu")
|
| 72 |
|
| 73 |
|
| 74 |
+
processor = AutoProcessor.from_pretrained("google/gemma-3n-E4B-it-litert-preview")
|
| 75 |
+
model = AutoModelForImageTextToText.from_pretrained("google/gemma-3n-E4B-it-litert-preview", device_map = "cpu")
|
| 76 |
+
|
| 77 |
+
|
| 78 |
model.eval()
|
| 79 |
|
| 80 |
# Inference function
|