Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -40,7 +40,7 @@ def log_request(prompt, is_negative, steps, cfg_scale, sampler, seed, strength,
|
|
40 |
|
41 |
# os.makedirs('assets', exist_ok=True)
|
42 |
if not os.path.exists('icon.png'):
|
43 |
-
os.system("wget -O icon.png https://
|
44 |
API_URL_DEV = "https://api-inference.huggingface.co/models/black-forest-labs/FLUX.1-dev"
|
45 |
API_URL = "https://api-inference.huggingface.co/models/black-forest-labs/FLUX.1-schnell"
|
46 |
timeout = 100
|
@@ -216,7 +216,7 @@ def query(prompt, is_negative=False, steps=30, cfg_scale=7, sampler="DPM++ 2M Ka
|
|
216 |
return None, None, None
|
217 |
|
218 |
css = """
|
219 |
-
.gradio-container {background: url(edge.png)}
|
220 |
|
221 |
body {
|
222 |
background-image: url('icon.png');
|
|
|
40 |
|
41 |
# os.makedirs('assets', exist_ok=True)
|
42 |
if not os.path.exists('icon.png'):
|
43 |
+
os.system("wget -O icon.png https://huggingface.co/spaces/K00B404/FLUX.1-Dev-Serverless-darn-enhanced-prompt/resolve/main/edge.png")
|
44 |
API_URL_DEV = "https://api-inference.huggingface.co/models/black-forest-labs/FLUX.1-dev"
|
45 |
API_URL = "https://api-inference.huggingface.co/models/black-forest-labs/FLUX.1-schnell"
|
46 |
timeout = 100
|
|
|
216 |
return None, None, None
|
217 |
|
218 |
css = """
|
219 |
+
.gradio-container {background: url(https://huggingface.co/spaces/K00B404/FLUX.1-Dev-Serverless-darn-enhanced-prompt/resolve/main/edge.png)}
|
220 |
|
221 |
body {
|
222 |
background-image: url('icon.png');
|