workflow: allow exporting workflow file when on hf spaces - #13715
workflow: allow exporting workflow file when on hf spaces#13715hannahblair wants to merge 6 commits into
Conversation
|
@hannahblair can you explain the motivation a bit more? Ideally we rely on Hub for this (i.e. duplicate a Space to make it yours so you can edit it) |
I think it might be confusing for users that they're seeing As an owner of the space, it'd be nice to be able to edit the workflow via the UI without having to pull it, edit locally and reupload. At least I've wanted to edit workflows this way Having copy as JSON + download means they can just upload/paste the workflow to the HF space files, but actually i'm wondering if those two buttons could just be replaced by a Either way, we should remove the saved text on HF spaces when it doesn't actually do anything |
|
Ah yeah I see what you mean, that is misleading. The problem is that if you do upload the files, or use the |
Description
the saved
text is misleading when you're editing a workflow on hf spaces, and you cant actually save your changes.
i've added a button exclusively to spaces allowing you to export the workflow as JSON via clipboard or .json download
https://huggingface.co/spaces/hmb/minimax-h3-model-2