Update main.py
Browse files
main.py
CHANGED
|
@@ -15,7 +15,7 @@ if not gemini_api_key:
|
|
| 15 |
# Make sure to use a model you have access to
|
| 16 |
generator: TextGenerationPipeline = pipeline(
|
| 17 |
"text-generation",
|
| 18 |
-
model="
|
| 19 |
) # IMPORTANT: **DO NOT** set `use_auth_token` here
|
| 20 |
|
| 21 |
# Data model for the request body
|
|
|
|
| 15 |
# Make sure to use a model you have access to
|
| 16 |
generator: TextGenerationPipeline = pipeline(
|
| 17 |
"text-generation",
|
| 18 |
+
model="google/gemma-2-2b-it", # Replace if needed
|
| 19 |
) # IMPORTANT: **DO NOT** set `use_auth_token` here
|
| 20 |
|
| 21 |
# Data model for the request body
|