Deploy Gradio - deploy failed

I want to deploy a gradio app to test a model online

logs:


Is anyone familiar with this issue and able to provide assistance? Any help would be greatly appreciated.

Hi there,

I expect the default server configuration would need configuring for Render.

I’m not familiar with Gradio, but looking at the project repo, it seems there are some env vars that can be configured: https://github.com/gradio-app/gradio/blob/53005ab88a2c1ee8ec3679dd8df405e2a7a7bd87/gradio/networking.py#L26

Maybe try setting:

  • GRADIO_SERVER_PORT to 10000
  • GRADIO_SERVER_NAME to 0.0.0.0

Hope that helps

Alan

thanks it worked cheers!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.