Image upload does not work for Visual Prompting mode

#1
by Ouz-G - opened

It is stuck here forever:

image

We also encountered this issue. The error message is:

Too little data for declared Content-Length
L [Error]: POST method not allowed. No actions exist for this page
    at hr (file:///usr/local/lib/python3.10/site-packages/gradio/templates/node/build/server/index.js:154:5951)
    at Ir (file:///usr/local/lib/python3.10/site-packages/gradio/templates/node/build/server/index.js:207:326)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async g (file:///usr/local/lib/python3.10/site-packages/gradio/templates/node/build/server/index.js:212:13351)
    at async Tt (file:///usr/local/lib/python3.10/site-packages/gradio/templates/node/build/server/index.js:212:11927)
    at async Array.ssr (file:///usr/local/lib/python3.10/site-packages/gradio/templates/node/build/handler.js:1261:3) {
  status: 405,
  text: 'Method Not Allowed'
}

However, if you deploy the demo locally, this problem doesn't occur. We are still trying to figure out a solution. You can refer to our GitHub demo deployment guide for local setup.

This bug is now fixed. Please try again

Mountchicken changed discussion status to closed

Sign up or log in to comment