Hello I make space and I upload my python file on it but it isn’t working , and I don’t know why it says no application found. I must to using ssh or https?
1 Like
Basically, Spaces won’t work unless you specify the .py file containing the GUI code from README.md.
It’s easy to see how to do it by looking at the code for other people’s Spaces.
I coded streamlit so It’s GUI code
1 Like
If that’s the case, it’s probably because you forgot to specify this or the contents of requirements.txt are insufficient.
app_file
: string
Path to your main application file (which contains eithergradio
orstreamlit
Python code, orstatic
html code).
Path is relative to the root of the repository.
The issue might be with the app_file
configuration in the README.md
or missing dependencies in requirements.txt
. verify these files and read huggingface’s spaces configuration guide.