How to edit `app.py` directly on Hugging Face Spaces without Git?

I’m working on a Gradio interface in Hugging Face Spaces and need to edit my app.py file. However, I can’t find the Editbutton in the file viewer. I prefer not to use Git and would like to edit the file directly from the Hugging Face web interface.

I have access to the Files tab and can see app.py, but I don’t see an option to modify it. Is there a way to enable direct editing, or do I need to use an alternative method?

Thanks in advance! :blush:

1 Like

You can jump to the editing screen from this button.

Thanks for your reply.
How do I reach this page with the editing button?
TIA

1 Like

From here.

2 Likes

This topic was automatically closed 12 hours after the last reply. New replies are no longer allowed.