DavidLoccus commited on
Commit
38ad801
·
1 Parent(s): 15fe0b0

Create notes.txt

Browse files
Files changed (1) hide show
  1. notes.txt +9 -0
notes.txt ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ https://discuss.huggingface.co/t/embedding-spaces-with-auth-for-public-models-counter-intuitive/32868/2
2
+
3
+ Hello @EtheE, thank you for your feedback. We have received similar requests in the past, we might implement a solution it in the future. However, we have previously suggested different workarounds depending on the specific use case:
4
+
5
+ To hide sensitive source code on Space, you can create a private Space and a second public Space which only loads the private Space using the ‘gr.Interface.load()’ method. This method can load a Space even if it is private. Check more her Gradio Docs 74.
6
+
7
+ To hide specific files only, you can create a private dataset/model and use the ‘huggingface_hub’ client to load your dataset/model using the hub token via Space settings.
8
+
9
+ You can also use our Inference Endpoints PaaS service which is fully integrated with HF tools and our hub. This service provides a way to deploy a Space as a REST API. You can learn more about it here Inference Endpoints - Hugging Face 47