changed default value
This commit is contained in:
parent
d87cefc75d
commit
67afb6da47
|
@ -33,7 +33,6 @@ import gradio as gr
|
||||||
import copy
|
import copy
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#%%
|
#%%
|
||||||
|
|
||||||
def compare_dicts(a, b):
|
def compare_dicts(a, b):
|
||||||
|
@ -76,7 +75,7 @@ class BlendingFrontend():
|
||||||
self.state_prev = {}
|
self.state_prev = {}
|
||||||
self.state_current = {}
|
self.state_current = {}
|
||||||
self.showing_current = True
|
self.showing_current = True
|
||||||
self.branch1_influence = 0.0
|
self.branch1_influence = 0.3
|
||||||
self.imgs_show_last = []
|
self.imgs_show_last = []
|
||||||
self.imgs_show_current = []
|
self.imgs_show_current = []
|
||||||
self.nmb_branches_final = 13
|
self.nmb_branches_final = 13
|
||||||
|
@ -128,7 +127,6 @@ class BlendingFrontend():
|
||||||
self.branch1_influence = value
|
self.branch1_influence = value
|
||||||
print(f"changed branch1_influence to {value}")
|
print(f"changed branch1_influence to {value}")
|
||||||
|
|
||||||
|
|
||||||
def change_height(self, value):
|
def change_height(self, value):
|
||||||
self.height = value
|
self.height = value
|
||||||
print(f"changed height to {value}")
|
print(f"changed height to {value}")
|
||||||
|
|
Loading…
Reference in New Issue