soiz1 commited on
Commit
89271ec
·
verified ·
1 Parent(s): b61e5bf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -444,6 +444,6 @@ if __name__ == '__main__':
444
  )
445
 
446
  if limitation is True:
447
- app.queue(max_size=20, api_open=config.api).launch(allowed_paths=["/"])
448
  else:
449
- app.queue(max_size=20, api_open=config.api).launch(allowed_paths=["/"], share=False)
 
444
  )
445
 
446
  if limitation is True:
447
+ app.queue(max_size=20, api_open=config.api).launch(server_name="0.0.0.0", allowed_paths=["/"])
448
  else:
449
+ app.queue(max_size=20, api_open=config.api).launch(server_name="0.0.0.0", allowed_paths=["/"], share=False)