Rooni commited on
Commit
e866b68
1 Parent(s): b38f76f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -61,8 +61,8 @@ def query(prompt, model, is_negative=False, steps=20, cfg_scale=7, seed=None):
61
 
62
  image_bytes = requests.post(API_URL, headers=headers, json=payload).content
63
  image = Image.open(io.BytesIO(image_bytes))
64
- return image
65
  print(f'\033[1mГенерация {key} завершена!\033[0m ({prompt})')
 
66
 
67
 
68
  css = """
 
61
 
62
  image_bytes = requests.post(API_URL, headers=headers, json=payload).content
63
  image = Image.open(io.BytesIO(image_bytes))
 
64
  print(f'\033[1mГенерация {key} завершена!\033[0m ({prompt})')
65
+ return image
66
 
67
 
68
  css = """