sandz7 commited on
Commit
1781aea
Β·
verified Β·
1 Parent(s): 8795021

Placed the message for the imagery condition to be text for the diffusor

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -164,6 +164,7 @@ def bot_comms(message, history):
164
 
165
  if mode == "imagery":
166
  logger.debug("Processing imagery prompt.")
 
167
  image = diffusing(message)
168
  yield image
169
  return
 
164
 
165
  if mode == "imagery":
166
  logger.debug("Processing imagery prompt.")
167
+ message = message["text"]
168
  image = diffusing(message)
169
  yield image
170
  return