nicopi commited on
Commit
efe271e
·
verified ·
1 Parent(s): a6d044b

Update server.py

Browse files
Files changed (1) hide show
  1. server.py +3 -1
server.py CHANGED
@@ -114,7 +114,9 @@ def _check_auth(x_api_key: Optional[str], authorization: Optional[str] = None):
114
 
115
  if x_api_key == API_KEY or bearer == API_KEY:
116
  return
117
- raise HTTPException(status_code=401, detail="Invalid API key")
 
 
118
 
119
 
120
  # ---------------------------------------------------------------------------
 
114
 
115
  if x_api_key == API_KEY or bearer == API_KEY:
116
  return
117
+ #temporary skip auth
118
+ return
119
+ # raise HTTPException(status_code=401, detail="Invalid API key")
120
 
121
 
122
  # ---------------------------------------------------------------------------