besarismaili commited on
Commit
fe2bf46
·
1 Parent(s): d4a65cf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -19,6 +19,8 @@ show_ui_in_notebook = True #@param {type:"boolean"}
19
 
20
  outputs_path = r'C:\Work\tst\SAnim'
21
 
 
22
  ui = create_ui(context, outputs_path)
23
- ui.queue(concurrency_count=2, max_size=2)
24
- ui.launch(show_api=False, debug=True, inline=show_ui_in_notebook, height=768, share=True, show_error=True)
 
 
19
 
20
  outputs_path = r'C:\Work\tst\SAnim'
21
 
22
+ # Create UI
23
  ui = create_ui(context, outputs_path)
24
+
25
+ # Launch the UI with the concurrency_limit parameter
26
+ ui.launch(concurrency_limit=2, show_api=False, debug=True, inline=show_ui_in_notebook, height=768, share=True, show_error=True)