Spaces:
Running on Zero
Running on Zero
| # Instruções para Publicar o Space do Wan 2.1 / 2.2 no Hugging Face | |
| ### 1. Crie o Space no Hugging Face: | |
| 1. Acesse: https://huggingface.co/new-space | |
| 2. Defina o nome do Space (ex: `wan-studio` ou `wan-video-studio`). | |
| 3. Em **SDK**, selecione **Gradio**. | |
| 4. Em **Hardware**, selecione **ZeroGPU (A10G)** (ou o hardware desejado). | |
| 5. Clique em **Create Space**. | |
| --- | |
| ### 2. Para fazer o upload (Push) dos arquivos deste projeto: | |
| Abra o terminal PowerShell em `G:\Content\huggingface\wan` e rode: | |
| ```powershell | |
| # 1. Adicione o remote do seu novo Space (substitua pelo seu usuário/nome do space e token): | |
| git remote add origin https://bann:hf_SEU_TOKEN@huggingface.co/spaces/bann/wan-studio | |
| # 2. Envie os arquivos para o Hugging Face: | |
| git push -u origin main --force | |
| ``` | |
| --- | |
| ### 3. Dica para LoRAs Restritos / NSFW do Civitai: | |
| Se for utilizar LoRAs restritos ou NSFW do Civitai, acesse as **Settings** do seu Space no Hugging Face, vá em **Variables and secrets** -> **New secret** e adicione: | |
| - **Key**: `CIVITAI_API_KEY` | |
| - **Value**: `seu_token_gerado_no_civitai` (obtido em https://civitai.com/user/account-settings) | |