CooLLaMACEO commited on
Commit
fa3e031
·
verified ·
1 Parent(s): 992127b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -18,7 +18,7 @@ generated_keys = {}
18
  # --- 2. CONFIGURATION ---
19
  MODEL_PATH = "/app/model" # folder with vocab.json, merges.txt, model weights
20
  API_KEY_NAME = "X-API-Key"
21
- api_key_header = APIKeyHeader(name=API_KEY_NAME, auto_error=False)
22
 
23
  app = FastAPI(title="Overflow-111.7B API")
24
 
 
18
  # --- 2. CONFIGURATION ---
19
  MODEL_PATH = "/app/model" # folder with vocab.json, merges.txt, model weights
20
  API_KEY_NAME = "X-API-Key"
21
+ api_key_header = APIKeyHeader(name=API_KEY_NAME, auto_error=True)
22
 
23
  app = FastAPI(title="Overflow-111.7B API")
24