Spaces:
Running
Running
goldenbrown
commited on
Commit
•
2d1b3f8
1
Parent(s):
04cd511
Update app.py
Browse files
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('
|
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():
|