Rooni commited on
Commit
b38f76f
1 Parent(s): 6cd5e81

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -62,6 +62,7 @@ def query(prompt, model, is_negative=False, steps=20, cfg_scale=7, seed=None):
62
  image_bytes = requests.post(API_URL, headers=headers, json=payload).content
63
  image = Image.open(io.BytesIO(image_bytes))
64
  return image
 
65
 
66
 
67
  css = """
 
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 = """