Add some comments and enable highres fix

This commit is contained in:
Luke Robles 2022-10-05 10:50:18 -07:00
parent 531c6e4461
commit f3dd53bdd7
2 changed files with 5 additions and 5 deletions

0
app/help_methods.py Executable file → Normal file
View File

10
app/stable_diffusion.py Executable file → Normal file
View File

@ -19,10 +19,10 @@ def generate_image(ip, port, prompt):
"fn_index": 11,
"data": [
prompt,
"",
"", # Negative Prompt
"None",
"None",
20,
20, # Sampling Steps
"Euler a",
False,
False,
@ -37,16 +37,16 @@ def generate_image(ip, port, prompt):
False,
512,
512,
True, # Enable highres fix
False,
False,
0.7,
0.7, # Denoising Strength
"None",
False,
False,
None,
"",
"Seed",
"",
"", # What seed to use
"Steps",
"",
True,