K00B404 commited on
Commit
6a5e649
1 Parent(s): 18b4293

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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://i.pinimg.com/564x/64/49/88/644988c59447eb00286834c2e70fdd6b.jpg")
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');