replace model to google/gemma-3n-E2B-it-litert-preview due to memory errors
Browse files
app.py
CHANGED
@@ -13,6 +13,8 @@ login(token=hf_token)
|
|
13 |
|
14 |
# π Load model and processor
|
15 |
model_id = "google/gemma-3n-e2b-it"
|
|
|
|
|
16 |
processor = AutoProcessor.from_pretrained(model_id)
|
17 |
model = Gemma3nForConditionalGeneration.from_pretrained(
|
18 |
model_id,
|
|
|
13 |
|
14 |
# π Load model and processor
|
15 |
model_id = "google/gemma-3n-e2b-it"
|
16 |
+
model_id = "google/gemma-3n-E2B-it-litert-preview"
|
17 |
+
|
18 |
processor = AutoProcessor.from_pretrained(model_id)
|
19 |
model = Gemma3nForConditionalGeneration.from_pretrained(
|
20 |
model_id,
|