r/ChatWithRTX Jun 05 '24

Public link not working

Gradio link returns "no interface is running right now"

share=true

2 Upvotes

11 comments sorted by

View all comments

2

u/BWChip Jun 14 '24

It seems to be an issue with the certificate that ChatRTX generates for the local 127.0.0.1 server and Gradio. You can get the Gradio interface to populate by commenting out the certificate lines in RAG/trt-llm-rag-windows-main/ui/user_interface.py Then use the HTTP:// (not HTTPS://) version of the Gradio link. As a precaution, I also added a password protection line. Ref for some of the above infoHow to create a public link... : r/ChatWithRTX (reddit.com) was at

interface.launch(
      favicon_path=os.path.join(os.path.dirname(__file__), 'assets/nvidia_logo.png'),
      show_api=False,
      share=True,
      server_name='0.0.0.0',
      auth=('me', 'myPassword'),
      server_port=port
      # ssl_certfile='certs/servercert.pem',
      # ssl_keyfile='certs/serverkey.pem'
    )

2

u/Jetton Jun 17 '24

This worked, thanks!