Spaces:
Paused
Paused
fix gradio typo
Browse files
app.py
CHANGED
@@ -186,20 +186,20 @@ with gr.Blocks(css=css) as demo:
|
|
186 |
inputs=inputs,
|
187 |
outputs=outputs,
|
188 |
concurrency_limit=4,
|
189 |
-
|
190 |
)
|
191 |
|
192 |
-
rotate_pitch.release(fn=predict, inputs=inputs, outputs=outputs, show_progress="minimal", concurrency_limit=2,
|
193 |
-
rotate_yaw.release(fn=predict, inputs=inputs, outputs=outputs, show_progress="minimal", concurrency_limit=2,
|
194 |
-
rotate_roll.release(fn=predict, inputs=inputs, outputs=outputs, show_progress="minimal", concurrency_limit=2,
|
195 |
-
blink.release(fn=predict, inputs=inputs, outputs=outputs, show_progress="minimal", concurrency_limit=2,
|
196 |
-
eyebrow.release(fn=predict, inputs=inputs, outputs=outputs, show_progress="minimal", concurrency_limit=2,
|
197 |
-
wink.release(fn=predict, inputs=inputs, outputs=outputs, show_progress="minimal", concurrency_limit=2,
|
198 |
-
pupil_x.release(fn=predict, inputs=inputs, outputs=outputs, show_progress="minimal", concurrency_limit=2,
|
199 |
-
pupil_y.release(fn=predict, inputs=inputs, outputs=outputs, show_progress="minimal", concurrency_limit=2,
|
200 |
-
aaa.release(fn=predict, inputs=inputs, outputs=outputs, show_progress="minimal", concurrency_limit=2,
|
201 |
-
eee.release(fn=predict, inputs=inputs, outputs=outputs, show_progress="minimal", concurrency_limit=2,
|
202 |
-
woo.release(fn=predict, inputs=inputs, outputs=outputs, show_progress="minimal", concurrency_limit=2,
|
203 |
-
smile.release(fn=predict, inputs=inputs, outputs=outputs, show_progress="minimal", concurrency_limit=2,
|
204 |
|
205 |
-
demo.queue().launch(share=False, show_error=True, show_api=False)
|
|
|
186 |
inputs=inputs,
|
187 |
outputs=outputs,
|
188 |
concurrency_limit=4,
|
189 |
+
show_api=False
|
190 |
)
|
191 |
|
192 |
+
rotate_pitch.release(fn=predict, inputs=inputs, outputs=outputs, show_progress="minimal", concurrency_limit=2, show_api=False)
|
193 |
+
rotate_yaw.release(fn=predict, inputs=inputs, outputs=outputs, show_progress="minimal", concurrency_limit=2, show_api=False)
|
194 |
+
rotate_roll.release(fn=predict, inputs=inputs, outputs=outputs, show_progress="minimal", concurrency_limit=2, show_api=False)
|
195 |
+
blink.release(fn=predict, inputs=inputs, outputs=outputs, show_progress="minimal", concurrency_limit=2, show_api=False)
|
196 |
+
eyebrow.release(fn=predict, inputs=inputs, outputs=outputs, show_progress="minimal", concurrency_limit=2, show_api=False)
|
197 |
+
wink.release(fn=predict, inputs=inputs, outputs=outputs, show_progress="minimal", concurrency_limit=2, show_api=False)
|
198 |
+
pupil_x.release(fn=predict, inputs=inputs, outputs=outputs, show_progress="minimal", concurrency_limit=2, show_api=False)
|
199 |
+
pupil_y.release(fn=predict, inputs=inputs, outputs=outputs, show_progress="minimal", concurrency_limit=2, show_api=False)
|
200 |
+
aaa.release(fn=predict, inputs=inputs, outputs=outputs, show_progress="minimal", concurrency_limit=2, show_api=False)
|
201 |
+
eee.release(fn=predict, inputs=inputs, outputs=outputs, show_progress="minimal", concurrency_limit=2, show_api=False)
|
202 |
+
woo.release(fn=predict, inputs=inputs, outputs=outputs, show_progress="minimal", concurrency_limit=2, show_api=False)
|
203 |
+
smile.release(fn=predict, inputs=inputs, outputs=outputs, show_progress="minimal", concurrency_limit=2, show_api=False)
|
204 |
|
205 |
+
demo.queue(api_open=False).launch(share=False, show_error=True, show_api=False)
|