jhj0517 commited on
Commit
27c4657
·
1 Parent(s): d4014a5

Refactor syntax

Browse files
Files changed (1) hide show
  1. app.py +1 -2
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=changes_expressions,
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