salomonsky commited on
Commit
11d4c00
·
1 Parent(s): 5fa0fe2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -7
app.py CHANGED
@@ -18,10 +18,4 @@ parser = argparse.ArgumentParser()
18
  parser.add_argument('--public_access', action='store_true',
19
  help="if enabled, the app can be access from a public url", default=False)
20
  args = parser.parse_args()
21
-
22
- if on_huggingspace:
23
- demo.launch(debug=False)
24
- else:
25
- _, _, link = demo.queue(api_open=False).launch(
26
- file_directories=['temporal'], share=args.public_access)
27
- print(link)
 
18
  parser.add_argument('--public_access', action='store_true',
19
  help="if enabled, the app can be access from a public url", default=False)
20
  args = parser.parse_args()
21
+ demo.launch(debug=False)