neo7team commited on
Commit
3d7bb3e
·
verified ·
1 Parent(s): fbebdf1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -13,7 +13,7 @@ import json
13
  API_URL = "https://api-inference.huggingface.co/models/stabilityai/stable-diffusion-3.5-large"
14
  API_TOKEN = os.getenv("HF_READ_TOKEN")
15
  headers = {"Authorization": f"Bearer {API_TOKEN}"}
16
- timeout = 10000
17
 
18
  # Function to query the API and return the generated image
19
  def query(prompt, is_negative=False, steps=35, cfg_scale=7, sampler="DPM++ 2M Karras", seed=-1, strength=0.7, width=1024, height=1024):
 
13
  API_URL = "https://api-inference.huggingface.co/models/stabilityai/stable-diffusion-3.5-large"
14
  API_TOKEN = os.getenv("HF_READ_TOKEN")
15
  headers = {"Authorization": f"Bearer {API_TOKEN}"}
16
+ timeout = 90000000
17
 
18
  # Function to query the API and return the generated image
19
  def query(prompt, is_negative=False, steps=35, cfg_scale=7, sampler="DPM++ 2M Karras", seed=-1, strength=0.7, width=1024, height=1024):