fffiloni commited on
Commit
eca6ff2
·
verified ·
1 Parent(s): 9613d25

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +12 -12
app.py CHANGED
@@ -143,18 +143,18 @@ with gr.Blocks() as demo:
143
  outputs=outputs,
144
  )
145
 
146
- rotate_pitch.change(fn=predict, inputs=inputs, outputs=outputs)
147
- rotate_yaw.change(fn=predict, inputs=inputs, outputs=outputs)
148
- rotate_roll.change(fn=predict, inputs=inputs, outputs=outputs)
149
- blink.change(fn=predict, inputs=inputs, outputs=outputs)
150
- eyebrow.change(fn=predict, inputs=inputs, outputs=outputs)
151
- wink.change(fn=predict, inputs=inputs, outputs=outputs)
152
- pupil_x.change(fn=predict, inputs=inputs, outputs=outputs)
153
- pupil_y.change(fn=predict, inputs=inputs, outputs=outputs)
154
- aaa.change(fn=predict, inputs=inputs, outputs=outputs)
155
- eee.change(fn=predict, inputs=inputs, outputs=outputs)
156
- woo.change(fn=predict, inputs=inputs, outputs=outputs)
157
- smile.change(fn=predict, inputs=inputs, outputs=outputs)
158
 
159
  demo.launch(share=False, show_error=True)
160
 
 
143
  outputs=outputs,
144
  )
145
 
146
+ rotate_pitch.release(fn=predict, inputs=inputs, outputs=outputs)
147
+ rotate_yaw.release(fn=predict, inputs=inputs, outputs=outputs)
148
+ rotate_roll.release(fn=predict, inputs=inputs, outputs=outputs)
149
+ blink.release(fn=predict, inputs=inputs, outputs=outputs)
150
+ eyebrow.release(fn=predict, inputs=inputs, outputs=outputs)
151
+ wink.release(fn=predict, inputs=inputs, outputs=outputs)
152
+ pupil_x.release(fn=predict, inputs=inputs, outputs=outputs)
153
+ pupil_y.release(fn=predict, inputs=inputs, outputs=outputs)
154
+ aaa.release(fn=predict, inputs=inputs, outputs=outputs)
155
+ eee.release(fn=predict, inputs=inputs, outputs=outputs)
156
+ woo.release(fn=predict, inputs=inputs, outputs=outputs)
157
+ smile.release(fn=predict, inputs=inputs, outputs=outputs)
158
 
159
  demo.launch(share=False, show_error=True)
160