Update app.py
Browse files
app.py
CHANGED
@@ -85,8 +85,9 @@ class MathSolver:
|
|
85 |
# Application configuration
|
86 |
app = Flask(__name__)
|
87 |
|
|
|
88 |
gemini_config = GeminiConfig(
|
89 |
-
|
90 |
generation_config={
|
91 |
"temperature": 1,
|
92 |
"max_output_tokens": 8192,
|
|
|
85 |
# Application configuration
|
86 |
app = Flask(__name__)
|
87 |
|
88 |
+
token = os.environ.get("TOKEN")
|
89 |
gemini_config = GeminiConfig(
|
90 |
+
token, # Replace with your actual API key
|
91 |
generation_config={
|
92 |
"temperature": 1,
|
93 |
"max_output_tokens": 8192,
|