zamasam commited on
Commit
0d867e3
1 Parent(s): 94bbc1d

Update server.py

Browse files
Files changed (1) hide show
  1. server.py +2 -2
server.py CHANGED
@@ -569,10 +569,10 @@ def before_request():
569
  print(f"Incoming POST request with {request.headers.get('Authorization')}")
570
  response = jsonify({ 'error': '401: Invalid API key' })
571
  response.status_code = 401
572
- return "https://(hf_name)-(space_name).hf.space/"
573
  except Exception as e:
574
  print(f"API key check error: {e}")
575
- return "https://(hf_name)-(space_name).hf.space/"
576
 
577
 
578
  @app.after_request
 
569
  print(f"Incoming POST request with {request.headers.get('Authorization')}")
570
  response = jsonify({ 'error': '401: Invalid API key' })
571
  response.status_code = 401
572
+ return "hentai lovers only"
573
  except Exception as e:
574
  print(f"API key check error: {e}")
575
+ return "hentai lovers only"
576
 
577
 
578
  @app.after_request