Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -15,7 +15,7 @@ API_URL = "https://api-inference.huggingface.co/models/black-forest-labs/FLUX.1-
15
  API_TOKEN = os.getenv("HF_READ_TOKEN")
16
  headers = {"Authorization": f"Bearer {API_TOKEN}"}
17
  # Timeout for requests
18
- timeout = 100
19
 
20
  def query(prompt, model, custom_lora, is_negative=False, steps=35, cfg_scale=7, sampler="DPM++ 2M Karras", seed=-1, strength=0.7, width=1024, height=1024):
21
  # Debug log to indicate function start
 
15
  API_TOKEN = os.getenv("HF_READ_TOKEN")
16
  headers = {"Authorization": f"Bearer {API_TOKEN}"}
17
  # Timeout for requests
18
+ timeout = 200
19
 
20
  def query(prompt, model, custom_lora, is_negative=False, steps=35, cfg_scale=7, sampler="DPM++ 2M Karras", seed=-1, strength=0.7, width=1024, height=1024):
21
  # Debug log to indicate function start