Spaces:
Runtime error
Runtime error
update.
Browse files
app.py
CHANGED
@@ -289,5 +289,6 @@ demo = gr.Interface(
|
|
289 |
['05.jpg', True, True, 2, 0.1]
|
290 |
])
|
291 |
|
292 |
-
|
293 |
-
demo.
|
|
|
|
289 |
['05.jpg', True, True, 2, 0.1]
|
290 |
])
|
291 |
|
292 |
+
DEBUG = os.getenv('DEBUG') == '1'
|
293 |
+
demo.queue(api_open=False, concurrency_count=2, max_size=10)
|
294 |
+
demo.launch(debug=DEBUG)
|