Shamik88 commited on
Commit
d29f6ed
·
1 Parent(s): 4a74b63

new test shamik 6

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -797,11 +797,11 @@ def main(port, host, share, api):
797
  print(f"Starting app...")
798
 
799
  # app.queue(api_open=api).launch(server_name=host, server_port=port, share=share, show_api=api)
800
- app.queue(api_open=api).launch(show_api=api)
801
 
802
 
803
  if __name__ == "__main__":
804
  if not USING_SPACES:
805
  main()
806
  else:
807
- app.queue(api_open=True).launch(show_api=True)
 
797
  print(f"Starting app...")
798
 
799
  # app.queue(api_open=api).launch(server_name=host, server_port=port, share=share, show_api=api)
800
+ app.queue(api_open=api).launch(server_name=host, server_port=port, share=share, show_api=api)
801
 
802
 
803
  if __name__ == "__main__":
804
  if not USING_SPACES:
805
  main()
806
  else:
807
+ app.queue().launch(share=True)