Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -43,7 +43,9 @@ def log_request(prompt, is_negative, steps, cfg_scale, sampler, seed, strength,
|
|
43 |
if not os.path.exists('icon.png'):
|
44 |
os.system("wget -O icon.png https://huggingface.co/spaces/K00B404/FLUX.1-Dev-Serverless-darn-enhanced-prompt/resolve/main/edge.png")
|
45 |
API_URL_DEV = "https://api-inference.huggingface.co/models/black-forest-labs/FLUX.1-dev"
|
46 |
-
|
|
|
|
|
47 |
timeout = 100
|
48 |
init_db('acces_log.log')
|
49 |
|
|
|
43 |
if not os.path.exists('icon.png'):
|
44 |
os.system("wget -O icon.png https://huggingface.co/spaces/K00B404/FLUX.1-Dev-Serverless-darn-enhanced-prompt/resolve/main/edge.png")
|
45 |
API_URL_DEV = "https://api-inference.huggingface.co/models/black-forest-labs/FLUX.1-dev"
|
46 |
+
|
47 |
+
API_URL = "https://router.huggingface.co/hf-inference/models/black-forest-labs/FLUX.1-schnell"
|
48 |
+
#API_URL = "https://api-inference.huggingface.co/models/black-forest-labs/FLUX.1-schnell"
|
49 |
timeout = 100
|
50 |
init_db('acces_log.log')
|
51 |
|