alfredplpl commited on
Commit
a359dcd
1 Parent(s): a69ff66

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -51,8 +51,9 @@ def inference(prompt, guidance, steps, seed=0, neg_prompt="", disable_auto_promp
51
  width=768
52
 
53
  print(prompt,neg_prompt)
54
-
55
- return txt_to_img(prompt, neg_prompt, guidance, steps, width, height, generator), None
 
56
 
57
  def auto_prompt_correction(prompt_ui,neg_prompt_ui,disable_auto_prompt_correction):
58
  # auto prompt correction
 
51
  width=768
52
 
53
  print(prompt,neg_prompt)
54
+
55
+ result=txt_to_img(prompt, neg_prompt, guidance, steps, width, height, generator)
56
+ return result, None
57
 
58
  def auto_prompt_correction(prompt_ui,neg_prompt_ui,disable_auto_prompt_correction):
59
  # auto prompt correction