JeCabrera commited on
Commit
82f3d66
·
verified ·
1 Parent(s): 0e954bf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -11,7 +11,7 @@ from deep_translator import GoogleTranslator
11
  API_URL = "https://api-inference.huggingface.co/models/black-forest-labs/FLUX.1-dev"
12
  API_TOKEN = os.getenv("HF_READ_TOKEN")
13
  headers = {"Authorization": f"Bearer {API_TOKEN}"}
14
- timeout = 100
15
 
16
  def query(prompt, is_negative=False, steps=30, cfg_scale=7, strength=0.7):
17
  if not prompt:
 
11
  API_URL = "https://api-inference.huggingface.co/models/black-forest-labs/FLUX.1-dev"
12
  API_TOKEN = os.getenv("HF_READ_TOKEN")
13
  headers = {"Authorization": f"Bearer {API_TOKEN}"}
14
+ timeout = 300
15
 
16
  def query(prompt, is_negative=False, steps=30, cfg_scale=7, strength=0.7):
17
  if not prompt: