Spaces:
Running
on
Zero
generated link not working
Hello, when using the api, for instance as follow
from gradio_client import Client, handle_file
client = Client("levihsu/OOTDiffusion")
result = client.predict(
vton_img=handle_file('https://levihsu-ootdiffusion.hf.space/file=/tmp/gradio/2e0cca23e744c036b3905c4b6167371632942e1c/model_1.png'),
garm_img=handle_file('https://levihsu-ootdiffusion.hf.space/file=/tmp/gradio/180d4e2a1139071a8685a5edee7ab24bcf1639f5/03244_00.jpg'),
n_samples=1,
n_steps=20,
image_scale=2,
seed=-1,
api_name="/process_hd"
)
print(result)
I get this result: [{'image': '/tmp/gradio/71d12b2977a5e4eeffc0edaaa7e04af95f2407334a4ec5da41750b67da2102fd/image.webp', 'caption': None}]
but the following link: https://levihsu-ootdiffusion.hf.space/file=/tmp/gradio/71d12b2977a5e4eeffc0edaaa7e04af95f2407334a4ec5da41750b67da2102fd/image.webp says that the image is not found.
Am I missing something in the generated link ?
Even I am waiting for the same -
Loaded as API: https://levihsu-ootdiffusion.hf.space β
[{'image': '/tmp/gradio/dabc2fb34376acd64c6f7670a40567176aab26afa3a6b352d6f52a848779ace8/image.webp', 'caption': None}]