I've been trying to figure out how to hide my source code in public HuggingFace spaces, but I wasn't able to find a solution for this. Here is what I've read and tried:
Using Google Actions to rely on tokens, but the code is synced of course to the HuggingFace space, so it is visible.
In the documentation it is said that Git LFS can be used to make the models hidden, but this cannot be applied to source code.
I've also read about using secrets, but this applies to API keys, not app functions.
Note: I've searched for a more relevant community to post this question and already asked the question in HuggingFace community, but no help yet.