linoyts HF Staff commited on
Commit
8d8ded4
·
verified ·
1 Parent(s): 38fcaae

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -397,7 +397,7 @@ def infer(
397
  prompt_with_template= prompt
398
 
399
  if rewrite_prompt:
400
- final_prompt = polish_prompt(prompt_with_template, input_image)
401
  else:
402
  final_prompt = prompt_with_template
403
 
 
397
  prompt_with_template= prompt
398
 
399
  if rewrite_prompt:
400
+ final_prompt = polish_prompt(prompt_with_template, image)
401
  else:
402
  final_prompt = prompt_with_template
403