Add some comments and enable highres fix
This commit is contained in:
parent
740c0e48bb
commit
5ed3cefe99
0
app/help_methods.py
Executable file → Normal file
0
app/help_methods.py
Executable file → Normal file
10
app/stable_diffusion.py
Executable file → Normal file
10
app/stable_diffusion.py
Executable file → Normal 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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user