Spaces:
Runtime error
Runtime error
app.py
CHANGED
@@ -19,6 +19,7 @@ show_ui_in_notebook = True #@param {type:"boolean"}
|
|
19 |
|
20 |
outputs_path = r'C:\Work\tst\SAnim'
|
21 |
|
|
|
22 |
|
23 |
|
24 |
# Create UI
|
@@ -28,4 +29,11 @@ interface = create_ui(context, outputs_path)
|
|
28 |
interface = gr.Interface(fn=interface.fn, inputs=interface.inputs, outputs=interface.outputs, concurrency_limit=2)
|
29 |
|
30 |
# Launch the UI
|
31 |
-
interface.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 |
+
<<<<<<< HEAD
|
23 |
|
24 |
|
25 |
# Create UI
|
|
|
29 |
interface = gr.Interface(fn=interface.fn, inputs=interface.inputs, outputs=interface.outputs, concurrency_limit=2)
|
30 |
|
31 |
# Launch the UI
|
32 |
+
interface.launch(show_api=False, debug=True, inline=show_ui_in_notebook, height=768, share=True, show_error=True)
|
33 |
+
=======
|
34 |
+
# Create UI
|
35 |
+
ui = create_ui(context, outputs_path)
|
36 |
+
|
37 |
+
# Launch the UI with the concurrency_limit parameter
|
38 |
+
ui.launch(concurrency_limit=2, show_api=False, debug=True, inline=show_ui_in_notebook, height=768, share=True, show_error=True)
|
39 |
+
>>>>>>> fe2bf46c1caf5c1a7c4f0559156cfc0da2dfa846
|