Add some comments and enable highres fix
This commit is contained in:
parent
531c6e4461
commit
f3dd53bdd7
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,
|
"fn_index": 11,
|
||||||
"data": [
|
"data": [
|
||||||
prompt,
|
prompt,
|
||||||
"",
|
"", # Negative Prompt
|
||||||
"None",
|
"None",
|
||||||
"None",
|
"None",
|
||||||
20,
|
20, # Sampling Steps
|
||||||
"Euler a",
|
"Euler a",
|
||||||
False,
|
False,
|
||||||
False,
|
False,
|
||||||
@ -37,16 +37,16 @@ def generate_image(ip, port, prompt):
|
|||||||
False,
|
False,
|
||||||
512,
|
512,
|
||||||
512,
|
512,
|
||||||
|
True, # Enable highres fix
|
||||||
False,
|
False,
|
||||||
False,
|
0.7, # Denoising Strength
|
||||||
0.7,
|
|
||||||
"None",
|
"None",
|
||||||
False,
|
False,
|
||||||
False,
|
False,
|
||||||
None,
|
None,
|
||||||
"",
|
"",
|
||||||
"Seed",
|
"Seed",
|
||||||
"",
|
"", # What seed to use
|
||||||
"Steps",
|
"Steps",
|
||||||
"",
|
"",
|
||||||
True,
|
True,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user