fffiloni commited on
Commit
da7e1ac
1 Parent(s): 6ad0de3

fix gradio typo

Browse files
Files changed (1) hide show
  1. app.py +14 -14
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
- api_open=False
190
  )
191
 
192
- rotate_pitch.release(fn=predict, inputs=inputs, outputs=outputs, show_progress="minimal", concurrency_limit=2, api_open=False)
193
- rotate_yaw.release(fn=predict, inputs=inputs, outputs=outputs, show_progress="minimal", concurrency_limit=2, api_open=False)
194
- rotate_roll.release(fn=predict, inputs=inputs, outputs=outputs, show_progress="minimal", concurrency_limit=2, api_open=False)
195
- blink.release(fn=predict, inputs=inputs, outputs=outputs, show_progress="minimal", concurrency_limit=2, api_open=False)
196
- eyebrow.release(fn=predict, inputs=inputs, outputs=outputs, show_progress="minimal", concurrency_limit=2, api_open=False)
197
- wink.release(fn=predict, inputs=inputs, outputs=outputs, show_progress="minimal", concurrency_limit=2, api_open=False)
198
- pupil_x.release(fn=predict, inputs=inputs, outputs=outputs, show_progress="minimal", concurrency_limit=2, api_open=False)
199
- pupil_y.release(fn=predict, inputs=inputs, outputs=outputs, show_progress="minimal", concurrency_limit=2, api_open=False)
200
- aaa.release(fn=predict, inputs=inputs, outputs=outputs, show_progress="minimal", concurrency_limit=2, api_open=False)
201
- eee.release(fn=predict, inputs=inputs, outputs=outputs, show_progress="minimal", concurrency_limit=2, api_open=False)
202
- woo.release(fn=predict, inputs=inputs, outputs=outputs, show_progress="minimal", concurrency_limit=2, api_open=False)
203
- smile.release(fn=predict, inputs=inputs, outputs=outputs, show_progress="minimal", concurrency_limit=2, api_open=False)
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)