qnguyen3/chat-with-mlx

how to change chat_with_mlx run in 0.0.0.0:7888 ?

Closed this issue · 5 comments

how to change chat_with_mlx run in 0.0.0.0:7888 ?
thanks!

hi, we are still working on this for you to change the port. the update should be by tomorrow! Please be patient xD

have new version?

def main():
#    demo.launch(inbrowser=True,share=True)
#    demo.launch(inbrowser=True)
    demo.launch(inbrowser=True,server_name="0.0.0.0",server_port=7888)

have new version?

im still debugging some last features. meanwhile you can use @M4RT1NJB 's approach

Alternatively set environment variables when starting the app.
GRADIO_SERVER_NAME=0.0.0.0 GRADIO_SERVER_PORT=7888 python3.11 app.py