path to generated images

#18
by jergz - opened

Hello, maybe I am missing something here, but when I generate images using the API, I get for instance this result:
[{'image': '/tmp/gradio/4dfbca53f14a124020e9d58eacdd21fa0a59c92ca807d7a6ee8c3cee3d4504e5/image.webp', 'caption': None}]
but when I try to visit the url for this image: https://levihsu-ootdiffusion.hf.space/file=/tmp/gradio/4dfbca53f14a124020e9d58eacdd21fa0a59c92ca807d7a6ee8c3cee3d4504e5/image.webp
I get a "File not found: /tmp/gradio/4dfbca53f14a124020e9d58eacdd21fa0a59c92ca807d7a6ee8c3cee3d4504e5/image.webp." mistake also it seems that the generated path 4dfbca53f14a124020e9d58eacdd21fa0a59c92ca807d7a6ee8c3cee3d4504e5 are much longer in the apiu compared to the gradio app where it works fine. Am I missing something here ?
Thanks in advance

Sign up or log in to comment