Warlord-K commited on
Commit
2488428
1 Parent(s): d3c94f9

Add in image prompt

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -16,7 +16,7 @@ def answer_question(question):
16
  def fashion(question):
17
  output = answer_question(question)
18
  image = image_client.predict(
19
- output, # str in 'What you want the AI to generate. 77 Token Limit.' Textbox component
20
  "blurry, cropped, nsfw, badhands, disfigured", # str in 'What you Do Not want the AI to generate. 77 Token Limit' Textbox component
21
  512, # int | float (numeric value between 512 and 1024) in 'Height' Slider component
22
  512, # int | float (numeric value between 512 and 1024) in 'Width' Slider component
 
16
  def fashion(question):
17
  output = answer_question(question)
18
  image = image_client.predict(
19
+ "A Model Wearing " + output, # str in 'What you want the AI to generate. 77 Token Limit.' Textbox component
20
  "blurry, cropped, nsfw, badhands, disfigured", # str in 'What you Do Not want the AI to generate. 77 Token Limit' Textbox component
21
  512, # int | float (numeric value between 512 and 1024) in 'Height' Slider component
22
  512, # int | float (numeric value between 512 and 1024) in 'Width' Slider component