bann commited on
Commit
3573fa3
·
1 Parent(s): 342ec8c

docs: add push instructions and secret config guide in comandos.md

Browse files
Files changed (1) hide show
  1. comandos.md +29 -0
comandos.md ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Instruções para Publicar o Space do Wan 2.1 / 2.2 no Hugging Face
2
+
3
+ ### 1. Crie o Space no Hugging Face:
4
+ 1. Acesse: https://huggingface.co/new-space
5
+ 2. Defina o nome do Space (ex: `wan-studio` ou `wan-video-studio`).
6
+ 3. Em **SDK**, selecione **Gradio**.
7
+ 4. Em **Hardware**, selecione **ZeroGPU (A10G)** (ou o hardware desejado).
8
+ 5. Clique em **Create Space**.
9
+
10
+ ---
11
+
12
+ ### 2. Para fazer o upload (Push) dos arquivos deste projeto:
13
+
14
+ Abra o terminal PowerShell em `G:\Content\huggingface\wan` e rode:
15
+
16
+ ```powershell
17
+ # 1. Adicione o remote do seu novo Space (substitua pelo seu usuário/nome do space e token):
18
+ git remote add origin https://bann:hf_SEU_TOKEN@huggingface.co/spaces/bann/wan-studio
19
+
20
+ # 2. Envie os arquivos para o Hugging Face:
21
+ git push -u origin main --force
22
+ ```
23
+
24
+ ---
25
+
26
+ ### 3. Dica para LoRAs Restritos / NSFW do Civitai:
27
+ 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:
28
+ - **Key**: `CIVITAI_API_KEY`
29
+ - **Value**: `seu_token_gerado_no_civitai` (obtido em https://civitai.com/user/account-settings)