Shamik88 commited on
Commit
cb28034
·
1 Parent(s): 50061b1

Gradio port change to share true

Browse files
Files changed (2) hide show
  1. .DS_Store +0 -0
  2. app.py +2 -2
.DS_Store CHANGED
Binary files a/.DS_Store and b/.DS_Store differ
 
app.py CHANGED
@@ -783,7 +783,7 @@ def main(port, host, share, api):
783
  global app
784
  print(f"Starting app...")
785
  app.queue(api_open=api).launch(
786
- server_name=host, server_port=7860, share=share, show_api=api
787
  )
788
 
789
 
@@ -791,4 +791,4 @@ if __name__ == "__main__":
791
  if not USING_SPACES:
792
  main()
793
  else:
794
- app.queue().launch()
 
783
  global app
784
  print(f"Starting app...")
785
  app.queue(api_open=api).launch(
786
+ server_name=host, server_port=port, share=share, show_api=api
787
  )
788
 
789
 
 
791
  if not USING_SPACES:
792
  main()
793
  else:
794
+ app.queue().launch(share=True)