Spaces:
Paused
Paused
Commit
·
18581d3
1
Parent(s):
757e693
fix concurrency_limit
Browse files
app.py
CHANGED
|
@@ -266,11 +266,12 @@ with gr.Blocks() as demo:
|
|
| 266 |
submit_btn.click(
|
| 267 |
vggsfm_demo,
|
| 268 |
[input_video, input_images, num_query_images, num_query_points],
|
| 269 |
-
[reconstruction_output, log_output]
|
|
|
|
| 270 |
)
|
| 271 |
|
| 272 |
# demo.launch(debug=True, share=True)
|
| 273 |
-
demo.queue(max_size=
|
| 274 |
# demo.queue(max_size=20, concurrency_count=1).launch(debug=True, share=True)
|
| 275 |
########################################################################################################################
|
| 276 |
|
|
|
|
| 266 |
submit_btn.click(
|
| 267 |
vggsfm_demo,
|
| 268 |
[input_video, input_images, num_query_images, num_query_points],
|
| 269 |
+
[reconstruction_output, log_output],
|
| 270 |
+
concurrency_limit=1
|
| 271 |
)
|
| 272 |
|
| 273 |
# demo.launch(debug=True, share=True)
|
| 274 |
+
demo.queue(max_size=30).launch(show_error=True)
|
| 275 |
# demo.queue(max_size=20, concurrency_count=1).launch(debug=True, share=True)
|
| 276 |
########################################################################################################################
|
| 277 |
|