Update app.py
Browse files
app.py
CHANGED
|
@@ -15,7 +15,7 @@ def generate(input_text):
|
|
| 15 |
except Exception as e:
|
| 16 |
return f"Error initializing client: {e}. Make sure GEMINI_API_KEY is set."
|
| 17 |
|
| 18 |
-
model = "gemini-
|
| 19 |
contents = [
|
| 20 |
types.Content(
|
| 21 |
role="user",
|
|
|
|
| 15 |
except Exception as e:
|
| 16 |
return f"Error initializing client: {e}. Make sure GEMINI_API_KEY is set."
|
| 17 |
|
| 18 |
+
model = "gemini-flash-latest"
|
| 19 |
contents = [
|
| 20 |
types.Content(
|
| 21 |
role="user",
|