Programmatically create streamlit space

Hello,

After the recent update made by the hugging face on the space creation, i can’t able to create streamlit space using python code programmatically.

Before update, i used to create a repo space using the below code

create_repo("RentalPricePredictionBackend", 
        repo_type="space",  
        space_sdk="streamlit",  
        private=False 
    )

But now this code is not working, and there is no documentation or any article on this update made by hugging face - pls help me how to create a streamlit space on hf using programmatically with python

Thanks in advance

1 Like

I’ve seen reports from other sources that streamlit-related operations on Hugging Face are malfunctioning. I just searched and it doesn’t seem to have been discontinued. So it must be a bug… @meganariley @Wauplin @pierric

sdk : string
Can be either gradio, streamlit, docker, or static.

1 Like

this is what i’m getting when executing the code above i have provided

1 Like

If we’re just using Streamlit, we could probably use Docker Space, so maybe they’ve integrated it? Unclear.