Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -69,7 +69,7 @@ def translate_text(text: List[str], source_lang: str, target_lang: str) -> List[
|
|
69 |
|
70 |
async def verify_token(token: str = Depends(api_key_query)):
|
71 |
if not token:
|
72 |
-
return test123
|
73 |
#raise HTTPException(status_code=401, detail={"message": "Token is missing"})
|
74 |
try:
|
75 |
pass # disable temporarily #jwt.decode(token, SECRET_KEY, algorithms=["HS256"])
|
|
|
69 |
|
70 |
async def verify_token(token: str = Depends(api_key_query)):
|
71 |
if not token:
|
72 |
+
return "test123"
|
73 |
#raise HTTPException(status_code=401, detail={"message": "Token is missing"})
|
74 |
try:
|
75 |
pass # disable temporarily #jwt.decode(token, SECRET_KEY, algorithms=["HS256"])
|