Spaces:
Runtime error
Runtime error
Add in image prompt
Browse files
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
|