Hello,
I am trying to host a gradio app. https://huggingface.co/spaces/chandrakalagowda/texttoimg
The python code runs locally and launches the gradio app.
When I run ‘gradio deploy’ in the terminal, the files are uploaded to huggingface spaces, however, the spaces does not recognise my app.py file.
It seems to suggest that there is no application file. please help.
Also received the “No application file” warning on my newly created space after an initial git commit/push to upload my app.
I was able to resolve by making a commit to app.py in the browser.
-
Navigate to “create the app.py file directly in your browser” link just below the commit and push instructions on your space “home page.”
-
Paste the contents of your already existing app.py file
-
Commit to main
This should pick up the app.py file and trigger a build.
i’m having this same issue, i tried adding a newline in the browser to my app.py file and commiting that change, no luck. any other ideas?