Update app/main.py
Browse files- app/main.py +0 -2
app/main.py
CHANGED
|
@@ -161,8 +161,6 @@ def list_models():
|
|
| 161 |
async def verify_password(request: Request):
|
| 162 |
if PASSWORD:
|
| 163 |
auth_header = request.headers.get("Authorization")
|
| 164 |
-
logger.info(request.headers)
|
| 165 |
-
logger.info(request)
|
| 166 |
if not auth_header or not auth_header.startswith("Bearer "):
|
| 167 |
raise HTTPException(
|
| 168 |
status_code=401, detail="Unauthorized: Missing or invalid token")
|
|
|
|
| 161 |
async def verify_password(request: Request):
|
| 162 |
if PASSWORD:
|
| 163 |
auth_header = request.headers.get("Authorization")
|
|
|
|
|
|
|
| 164 |
if not auth_header or not auth_header.startswith("Bearer "):
|
| 165 |
raise HTTPException(
|
| 166 |
status_code=401, detail="Unauthorized: Missing or invalid token")
|