Issues with adding default message to gradio chatbot when hosting on Huggingface space

I haven’t seen this error myself, but the error message does include SSR. It’s possible that the SSR_MODE in Gradio 5 is causing some kind of bug. Try setting the Gradio version to 4.44.0 in README.md.
If you want to use 5, change view.launch() to view.launch(ssr_mode=False).
Or, if you’re using 5.11.0, the bug may have been fixed.

1 Like