andreped commited on
Commit
c0abadd
1 Parent(s): 25fa374

Disabled sharing by default

Browse files
Files changed (1) hide show
  1. demo/app.py +2 -2
demo/app.py CHANGED
@@ -15,7 +15,7 @@ def main():
15
  parser.add_argument(
16
  "--share",
17
  type=int,
18
- default=1,
19
  help="Whether to enable the app to be accessible online"
20
  "-> setups a public link which requires internet access.",
21
  )
@@ -30,7 +30,7 @@ def main():
30
  "The 'share' argument can only be set to 0 or 1, but was:",
31
  args.share,
32
  )
33
-
34
  print("Current cwd:", args.cwd)
35
 
36
  # initialize and run app
 
15
  parser.add_argument(
16
  "--share",
17
  type=int,
18
+ default=0,
19
  help="Whether to enable the app to be accessible online"
20
  "-> setups a public link which requires internet access.",
21
  )
 
30
  "The 'share' argument can only be set to 0 or 1, but was:",
31
  args.share,
32
  )
33
+
34
  print("Current cwd:", args.cwd)
35
 
36
  # initialize and run app