martynka commited on
Commit
aaff297
·
verified ·
1 Parent(s): 0254bc9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -33,7 +33,7 @@ def generate_image(prompt: str, model_name: str):
33
  with open(image_path, "wb") as f:
34
  f.write(image_data)
35
 
36
- time.sleep(10) # 10-second delay
37
  return image_path
38
  else:
39
  return f"Error generating image: {response.text}"
 
33
  with open(image_path, "wb") as f:
34
  f.write(image_data)
35
 
36
+ # time.sleep(10) # 10-second delay
37
  return image_path
38
  else:
39
  return f"Error generating image: {response.text}"