Closed freddyaboulton closed 1 year ago
Ah this is because of the new file policy. We'll need to move the avatar images to the cache as well
But the demo is setting allowed_paths?
Because allowed_paths
is relative to the working directory, you have to run the demo from the demo/chatbot_multimodal/
folder for it to work:
And in the deployed Spaces, it doesn't work because there is a single launch()
command for the entire collection of demos, which does not set allowed_paths
Anyways, a user shouldn't have to do this, the better thing would be to use move_resource_to_block_cache
to move the avatar images
Gotcha. Problem was happening for me locally but I was also not running the demo from the same directory as the image.
Describe the bug
The chatbot avatar image is not loading
Have you searched existing issues? 🔎
Reproduction
send a message to the bot in the
chatbot_multimodal
demo and observe the avatar image.Screenshot
Logs
No response
System Info
Severity
I can work around it