Rooni commited on
Commit
1406a42
·
verified ·
1 Parent(s): fe24e3c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -67,7 +67,7 @@ def generate_cached_image(cache_key, prompt, width, height, seed, model_name, ap
67
  f"https://api-inference.huggingface.co/models/{model_name}",
68
  headers=headers,
69
  json=data,
70
- timeout=180 # Таймаут 3 минуты
71
  )
72
  response.raise_for_status()
73
  image_data = response.content
 
67
  f"https://api-inference.huggingface.co/models/{model_name}",
68
  headers=headers,
69
  json=data,
70
+ timeout=1550 # Таймаут 3 минуты
71
  )
72
  response.raise_for_status()
73
  image_data = response.content