Spaces:
Running
on
L40S
Running
on
L40S
Update app.py
Browse files
app.py
CHANGED
@@ -143,18 +143,18 @@ with gr.Blocks() as demo:
|
|
143 |
outputs=outputs,
|
144 |
)
|
145 |
|
146 |
-
rotate_pitch.
|
147 |
-
rotate_yaw.
|
148 |
-
rotate_roll.
|
149 |
-
blink.
|
150 |
-
eyebrow.
|
151 |
-
wink.
|
152 |
-
pupil_x.
|
153 |
-
pupil_y.
|
154 |
-
aaa.
|
155 |
-
eee.
|
156 |
-
woo.
|
157 |
-
smile.
|
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 |
|