Open zgz757183190 opened 5 months ago
--listen
: Launch gradio with 0.0.0.0 as server name, allowing to respond to network requests.gradio seems to be broken, network access doesn't work.
You may have already resolved this, but it worked when I changed line 88 in webui.py to: server_name="0.0.0.0", #initialize_util.gradio_server_name().
on windows you can simply:
PS C:\Users\realies\Downloads\webui_forge_cu121_torch231> .\system\python\python.exe -s .\webui\launch.py --listen --port 7860
Python 3.10.6 (tags/v3.10.6:9c7b4bd, Aug 1 2022, 21:53:49) [MSC v.1932 64 bit (AMD64)]
Version: f2.0.1v1.10.1-previous-421-g59dd981f
Commit hash: 59dd981fa78b767a9973a8cd1d555e3cb851c62b
Launching Web UI with arguments: --listen --port 7860
After the update a couple of days ago, I also encountered this issue, but unfortunately, none of the above solutions helped me :c
I also have reForge installed and this feature still works there
works on my machine
Checklist
What happened?
2、question
python launch.py ..... ..... ..... Running on local URL:http://127.0.0.1:7860 ..... .....
How to change 127.0.0.1 to 0.0.0, so that everyone can access it?
Steps to reproduce the problem
2、question
python launch.py ..... ..... ..... Running on local URL:http://127.0.0.1:7860 ..... .....
How to change 127.0.0.1 to 0.0.0, so that everyone can access it?
What should have happened?
2、question
python launch.py ..... ..... ..... Running on local URL:http://127.0.0.1:7860 ..... .....
How to change 127.0.0.1 to 0.0.0, so that everyone can access it?
What browsers do you use to access the UI ?
Other
Sysinfo
1、system information
(base) root@ecs-d1cc:/home/yuan/demo# uname -a Linux ecs-d1cc 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux (base) root@ecs-d1cc:/home/yuan/demo# nvidia-smi Thu Mar 28 18:09:43 2024 +---------------------------------------------------------------------------------------+ | NVIDIA-SMI 530.41.03 Driver Version: 530.41.03 CUDA Version: 12.1 | |-----------------------------------------+----------------------+----------------------+ | GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC | | Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. | | | | MIG M. | |=========================================+======================+======================| | 0 Tesla V100S-PCIE-32GB Off| 00000000:00:0D.0 Off | 0 | | N/A 32C P0 36W / 250W| 14720MiB / 32768MiB | 0% Default | | | | N/A | +-----------------------------------------+----------------------+----------------------+
+---------------------------------------------------------------------------------------+ | Processes: | | GPU GI CI PID Type Process name GPU Memory | | ID ID Usage | |=======================================================================================| | 0 N/A N/A 14372 C ...anaconda3/envs/langchain/bin/python 13066MiB | | 0 N/A N/A 14450 C ...anaconda3/envs/langchain/bin/python 1650MiB | +---------------------------------------------------------------------------------------+
Console logs
Additional information
No response