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
|
||||||
|
@ -127,7 +126,6 @@ class BlendingFrontend():
|
||||||
def change_branch1_influence(self, value):
|
def change_branch1_influence(self, value):
|
||||||
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
|
||||||
|
|
Loading…
Reference in New Issue