Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide a setting for public spaces to hide the Files tab #6306

Closed
1 task done
dwipper opened this issue Nov 6, 2023 · 1 comment
Closed
1 task done

Provide a setting for public spaces to hide the Files tab #6306

dwipper opened this issue Nov 6, 2023 · 1 comment

Comments

@dwipper
Copy link

dwipper commented Nov 6, 2023

  • I have searched to see if a similar issue already exists.

Is your feature request related to a problem? Please describe.
Since our company has patent-pending process patents, we don't want the code in our app made public. We have implemented the suggested public -> private space approach using gr.load in the public space. While it works in certain circumstances in 3.50.2, it's now broken in 4.1.1. There are other limitations, especially when using auth=, since the username doesn't get passed to the private space. We have also seen that the a .load in the private space throws an error (#5927)

Describe the solution you'd like
I would suggest that the Space -> Settings have a switch (similar to Public/Private switch) that turns off the "Files" tab in the UI. That way we could have a Public space, with auth= turned on, but not expose our code to the general public. It should also not be possible to duplicate the space or clone the repo.

Additional context
None

@abidlabs
Copy link
Member

abidlabs commented Nov 6, 2023

Thanks @dwipper. Since this is actually a question regarding Spaces and not the Gradio library, here would be a better place to ask it: https://discuss.huggingface.co/c/spaces/24

@abidlabs abidlabs closed this as completed Nov 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants