marcosremar2 commited on
Commit
9d4187c
·
1 Parent(s): 37b89b9

FORCE RESTART: Complete space redeploy with restart triggers (secure)

Browse files
Files changed (3) hide show
  1. README.md +1 -0
  2. RESTART_TRIGGER.md +24 -0
  3. app.py +3 -0
README.md CHANGED
@@ -10,6 +10,7 @@ pinned: false
10
  license: apache-2.0
11
  python_version: 3.11
12
  hardware: t4-small
 
13
  ---
14
 
15
  # 🎭 Pyannote Speaker Diarization
 
10
  license: apache-2.0
11
  python_version: 3.11
12
  hardware: t4-small
13
+ restart_trigger: force_restart_20250531
14
  ---
15
 
16
  # 🎭 Pyannote Speaker Diarization
RESTART_TRIGGER.md ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Force Restart Trigger
2
+
3
+ Este arquivo força o restart do space quando modificado.
4
+
5
+ **Última modificação:** 2025-05-31 15:35:00 UTC
6
+ **Motivo:** Force complete restart requested
7
+ **Status:** Triggering full redeploy
8
+
9
+ ## Configurações Necessárias Após Restart:
10
+
11
+ 1. **Token HuggingFace:**
12
+ - Vá em Settings → Variables and secrets
13
+ - Adicione: `HUGGINGFACE_TOKEN` = `[SEU_TOKEN_AQUI]`
14
+
15
+ 2. **Aceitar Termos:**
16
+ - Acesse: https://huggingface.co/pyannote/speaker-diarization-3.1
17
+ - Aceite os termos do modelo
18
+
19
+ 3. **Verificar Status:**
20
+ - Execute: `python test_status.py`
21
+ - Aguarde modelo carregar (2-5 minutos)
22
+
23
+ ---
24
+ **Auto-generated:** $(date)
app.py CHANGED
@@ -12,6 +12,9 @@ import logging
12
  logging.basicConfig(level=logging.INFO)
13
  logger = logging.getLogger(__name__)
14
 
 
 
 
15
  class PyannoteService:
16
  def __init__(self):
17
  self.pipeline = None
 
12
  logging.basicConfig(level=logging.INFO)
13
  logger = logging.getLogger(__name__)
14
 
15
+ # Force restart trigger - 2025-05-31 15:35
16
+ print("🔄 Space restarting... Loading Pyannote Diarization")
17
+
18
  class PyannoteService:
19
  def __init__(self):
20
  self.pipeline = None