Kvikontent commited on
Commit
6f67272
1 Parent(s): 63cd697

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -46,6 +46,7 @@ elif inpt and file is None and not("Generate" in inpt or "Draw" in inpt or "Imag
46
  aimsg.write(output)
47
 
48
  elif inpt and ("Generate" in inpt or "Draw" in inpt or "Imagine" in inpt):
 
49
  payload = {"prompts": prompt}
50
  output = generate_image(payload)
51
  if output:
 
46
  aimsg.write(output)
47
 
48
  elif inpt and ("Generate" in inpt or "Draw" in inpt or "Imagine" in inpt):
49
+ prompt = inpt.split("--")[1]
50
  payload = {"prompts": prompt}
51
  output = generate_image(payload)
52
  if output: