gosign commited on
Commit
6be94e8
·
verified ·
1 Parent(s): 9a4edab

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -93,8 +93,9 @@ def generate_image():
93
  data = request.json
94
 
95
  # Extract the token from the request headers
96
- token = request.headers.get('Authorization')
97
 
 
98
  if token is None:
99
  return jsonify({'error': 'No token provided'}), 400
100
  if token.startswith("Bearer "):
 
93
  data = request.json
94
 
95
  # Extract the token from the request headers
96
+ # token = request.headers.get('Authorization')
97
 
98
+ token = "Bearer JDJiJDEyJDgwbUJwQTFrQ0JYdS9lR2R4ZEZWdmV3WS9VTmlCeHNtc2txbnBITjR4Qm96ZmFnVUkvNDlh"
99
  if token is None:
100
  return jsonify({'error': 'No token provided'}), 400
101
  if token.startswith("Bearer "):