goldenbrown commited on
Commit
2d1b3f8
1 Parent(s): 04cd511

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -6,7 +6,7 @@ app = Flask(__name__)
6
 
7
  # Get Hugging Face API key from environment variables
8
  API_URL = "https://api-inference.huggingface.co/models/Organika/sdxl-detector"
9
- API_KEY = os.getenv('HF_API_TOKEN')
10
 
11
  @app.route('/check_image', methods=['POST'])
12
  def check_image():
 
6
 
7
  # Get Hugging Face API key from environment variables
8
  API_URL = "https://api-inference.huggingface.co/models/Organika/sdxl-detector"
9
+ API_KEY = os.getenv('TOKEN')
10
 
11
  @app.route('/check_image', methods=['POST'])
12
  def check_image():