patrickvonplaten commited on
Commit
e067f97
1 Parent(s): f3df6f1

better naming

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -115,7 +115,7 @@ def inference(
115
  if use_qr_code_as_init_image:
116
  init_image = qrcode_image
117
  elif init_image is None or init_image.size == (1, 1):
118
- print("Generating random image from prompt using Stable Diffusion")
119
  # generate image from prompt
120
  image_bytes = query({"inputs": prompt})
121
  init_image = Image.open(io.BytesIO(image_bytes))
 
115
  if use_qr_code_as_init_image:
116
  init_image = qrcode_image
117
  elif init_image is None or init_image.size == (1, 1):
118
+ print("Generating random image from prompt using Stable Diffusion 2.1 via Inference API")
119
  # generate image from prompt
120
  image_bytes = query({"inputs": prompt})
121
  init_image = Image.open(io.BytesIO(image_bytes))