robinhad commited on
Commit
5338f9e
·
verified ·
1 Parent(s): a1bb9c9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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"])