MiniGPT-4 icon indicating copy to clipboard operation
MiniGPT-4 copied to clipboard

How to access the deployment on the server

Open whuxxie opened this issue 2 years ago • 1 comments

The deployment on the server was successful, and it can be accessed on the server. However, using the server ip: port on the external network cannot be accessed. There is no problem with the firewall, and it is no problem to access the default port 80 of iis.

whuxxie avatar Apr 26 '23 08:04 whuxxie

To serve it over the internet

demo.queue().launch(server_name='0.0.0.0', server_port=7860, share=False, inbrowser=True)

WeileiZeng avatar Apr 26 '23 09:04 WeileiZeng

Hi, WeileiZeng!

can you tell me where do I put these parameters? Into which file?

Thanks

quartets avatar Apr 26 '23 21:04 quartets

replace the last line in https://github.com/Vision-CAIR/MiniGPT-4/blob/main/demo.py

WeileiZeng avatar Apr 27 '23 02:04 WeileiZeng

i tried,it worked

whuxxie avatar Apr 27 '23 06:04 whuxxie