Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
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 |
-
|
|
|
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
|