linoyts HF Staff commited on
Commit
2bd4589
·
verified ·
1 Parent(s): fc41fee

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -56,7 +56,7 @@ def generate_json_prompt(
56
 
57
  payload = {"seed": seed, "sync": True}
58
  if json_prompt:
59
- payload["structured_prompt"] = structured_prompt
60
  if prompt:
61
  payload["prompt"] = prompt
62
  if prompt_inspire_image:
 
56
 
57
  payload = {"seed": seed, "sync": True}
58
  if json_prompt:
59
+ payload["structured_prompt"] = json_prompt
60
  if prompt:
61
  payload["prompt"] = prompt
62
  if prompt_inspire_image: