Docfile commited on
Commit
9398dd5
·
verified ·
1 Parent(s): b636ce3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -85,8 +85,9 @@ class MathSolver:
85
  # Application configuration
86
  app = Flask(__name__)
87
 
 
88
  gemini_config = GeminiConfig(
89
- api_key="AIzaSyD6yZxfVOnh63GXBJjakAupk9aP4CZrgrQ", # Replace with your actual API key
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,