abanm commited on
Commit
41a52b6
·
verified ·
1 Parent(s): 6a69a20

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -25,7 +25,7 @@ app.add_middleware(
25
  )
26
 
27
  # Load your API key from the environment (defaults to "change_me")
28
- OLLAMA_API_KEY = os.environ.get("OLLAMA_API_KEY", "change_me")
29
 
30
  @app.post("/api/generate")
31
  async def generate(request: Request):
 
25
  )
26
 
27
  # Load your API key from the environment (defaults to "change_me")
28
+ OLLAMA_API_KEY = os.environ.get("API_KEY", "change_me")
29
 
30
  @app.post("/api/generate")
31
  async def generate(request: Request):