Blocks Event

#1
by akhaliq HF staff - opened
Gradio-Blocks-Party org

Hi, very cool gradio demo using Blocks and I see you are also part of the Gradio Blocks organization, would be great to have this demo submitted in the organization as well for a chance to win prizes, thanks

Gradio-Blocks-Party org

Thanks akhaliq, I got a community gpu for this space. Can I transfer it to the blocks organization and keep the gpu allocation?

Gradio-Blocks-Party org

@simonduerr , we are working on a fix for load gradio demo from spaces so it can be easy as import gradio as gr gr.Interface.load("simonduerr/
protGPT2_gradioFold").launch() in the gradio-blocks organization to create a copy of this space and use the same gpu allocation. For now can you try the api workaround for 3.0 spaces here https://huggingface.co/spaces/versae/gradio-blocks-rest-api and let me know if this works

Gradio-Blocks-Party org

If I try to use the API i get this error. The function takes about 200 sec to compute.
curl -X POST https://hf.space/embed/simonduerr/protGPT2_gradioFold/+/api/predict/ -H 'Content-Type: application/json' -d '{"data": ["MPSYEIPEFLKTTDNIRRISPSSVLLRFLEKFLNDLQEEDGTVVRHPPIEVRLPIERDVAIGPSLRFFSLIKKVKEVKGYSLDFVRREYDEFLLWDFLDRLREKSGNNVLEVLRIENCKR"], "fn_index": 1}'

504 Gateway Time-out

504 Gateway Time-out


nginx

Sign up or log in to comment