Spaces:
Sleeping
Sleeping
Set share to false for hf
Browse files
app.py
CHANGED
@@ -58,4 +58,4 @@ with gr.Blocks(analytics_enabled=False, title="DeepNAPSI") as demo:
|
|
58 |
outputs[10].render()
|
59 |
image_button.click(infer.predict, inputs=image_input, outputs=outputs)
|
60 |
|
61 |
-
demo.launch(share=True, enable_queue=True, favicon_path="assets/favicon-32x32.png")
|
|
|
58 |
outputs[10].render()
|
59 |
image_button.click(infer.predict, inputs=image_input, outputs=outputs)
|
60 |
|
61 |
+
demo.launch(share=True if DEBUG else False, enable_queue=True, favicon_path="assets/favicon-32x32.png")
|