add default_overwrite_step handling for meta data and gradio

allows turbo preset switching to set default_overwrite_step correctly
This commit is contained in:
Manuel Schmid
2023-12-24 23:31:46 +01:00
parent e1f05c64e1
commit 3ba59df559
4 changed files with 12 additions and 0 deletions
+8
View File
@@ -118,6 +118,14 @@ def load_parameter_button_click(raw_prompt_txt):
except:
results.append(gr.update())
try:
h = loaded_parameter_dict.get('Sampling Steps Override', None)
assert h is not None
h = float(h)
results.append(h)
except:
results.append(gr.update())
try:
h = loaded_parameter_dict.get('Seed', None)
assert h is not None