gr.DuplicateButton
appears even when run in a local environment
#4825
Labels
docs/website
Related to documentation or website
Describe the bug
Though the documentation of DuplicateButton says that it appears only on HF Spaces, it actually appears even when run in a local environment.
I can workaround by adding
visible=os.getenv('SYSTEM') == 'spaces'
, but I guess it's supposed to work without doing this.Have you searched existing issues? 🔎
Reproduction
Screenshot
Logs
No response
System Info
Severity
I can work around it
The text was updated successfully, but these errors were encountered: