Hi, I tried to run app.py but I get the following error
Traceback (most recent call last): File "path/to/app.py", line 40, in <module> block.launch(debug = True, server_name = "127.0.0.1", server_port = 4050) File "path\to\gradio\blocks.py", line 1356, in launch server_name, server_port, local_url, app, server = networking.start_server( File "path\to\gradio\networking.py", line 145, in start_server config = uvicorn.Config( TypeError: Config.__init__() got an unexpected keyword argument 'ws_max_size'
I was able to solve only by commenting
ws_max_size=1024 * 1024 * 1024, # Setting max websocket size to be 1 GB
in gradio/networking.py but I would like to have a better solution.
Can you please help me?