tuoyuxiang xianbao HF staff commited on
Commit
1927c6e
1 Parent(s): 4e176ff

Update app.py (#4)

Browse files

- Update app.py (732a56a09965cea1f52a513c7515c04f6f558a09)


Co-authored-by: Tiezhen WANG <xianbao@users.noreply.huggingface.co>

Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -455,7 +455,7 @@ with block:
455
 
456
 
457
  block.launch(
458
- server_name='0.0.0.0' if os.getenv('GRADIO_LISTEN', '') != '' else "127.0.0.1",
459
  share=False,
460
  root_path=f"/{os.getenv('GRADIO_PROXY_PATH')}" if os.getenv('GRADIO_PROXY_PATH') else ""
461
  )
 
455
 
456
 
457
  block.launch(
458
+ server_name='0.0.0.0', #if os.getenv('GRADIO_LISTEN', '') != '' else "127.0.0.1",
459
  share=False,
460
  root_path=f"/{os.getenv('GRADIO_PROXY_PATH')}" if os.getenv('GRADIO_PROXY_PATH') else ""
461
  )