Error. Maybe missing file?

#13
by Sebas6k - opened

Yes, the main problem is this. The file is not found.

The links have been fixed in the repo!!! :)
In order to this sample to work again is needed to update the line '''os.system("curl -LJ -o publaynet_dit-b_cascade.pth 'https://layoutlm.blob.core.windows.net/dit/dit-fts/publaynet_dit-b_cascade.pth?sv=2022-11-02&ss=b&srt=o&sp=r&se=2033-06-08T16:48:15Z&st=2023-06-08T08:48:15Z&spr=https&sig=a9VXrihTzbWyVfaIDlIT1Z0FoR1073VB0RLQUMuudD4%3D'")''' with the new link.

Owner

Hi, what's the new link?

Owner

Thanks. Do you have a Microsoft account? Could you host it in a repository on the hub?

This way I could use hf_hub_download inside this Space.

Sure, here you go:
https://huggingface.co/Sebas6k/DiT_weights/tree/main
Hope you find it useful. I just uploaded the weights you were using in your original code

image.png

it is giving error in api response after submission. It is about unpossessable entity. But in gradio UI I can't see those parameter which I can pass. Below is list of missing entity error.
"session_hash": "",
"example_id": ,
"fn_index": ,
"state": "",

Sign up or log in to comment