ovi054 commited on
Commit
044c161
1 Parent(s): 6c489b2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -38,6 +38,7 @@ def generate_caption(image):
38
  image_size=(image.width, image.height)
39
  )
40
  prompt = parsed_answer["<MORE_DETAILED_CAPTION>"]
 
41
  yield prompt, None
42
  image_path = generate_image(prompt,random.randint(0, 4294967296))
43
  yield prompt, image_path
 
38
  image_size=(image.width, image.height)
39
  )
40
  prompt = parsed_answer["<MORE_DETAILED_CAPTION>"]
41
+ print(f'\033[1mGeneration} completed!\033[0m ({prompt})')
42
  yield prompt, None
43
  image_path = generate_image(prompt,random.randint(0, 4294967296))
44
  yield prompt, image_path