jhj0517
commited on
Commit
·
27c4657
1
Parent(s):
d4014a5
Refactor syntax
Browse files
app.py
CHANGED
@@ -52,9 +52,8 @@ class App:
|
|
52 |
params = expression_parameters + [img_ref]
|
53 |
opt_in_features_params = [img_sample, img_motion_link, tb_exp]
|
54 |
|
55 |
-
changes_expressions = [param.change for param in params]
|
56 |
gr.on(
|
57 |
-
triggers=
|
58 |
fn=self.inferencer.edit_expression,
|
59 |
inputs=params + opt_in_features_params,
|
60 |
outputs=img_out
|
|
|
52 |
params = expression_parameters + [img_ref]
|
53 |
opt_in_features_params = [img_sample, img_motion_link, tb_exp]
|
54 |
|
|
|
55 |
gr.on(
|
56 |
+
triggers=[param.change for param in params],
|
57 |
fn=self.inferencer.edit_expression,
|
58 |
inputs=params + opt_in_features_params,
|
59 |
outputs=img_out
|