lfolle commited on
Commit
a8f168f
1 Parent(s): 2428a43

Set share to false for hf

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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")