EYEDOL commited on
Commit
d507929
·
verified ·
1 Parent(s): 8309232

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -16,8 +16,6 @@ import re
16
  from huggingface_hub import login
17
  import threading
18
 
19
- # --- Login to Hugging Face using secret ---
20
- # Make sure HF_TOKEN is set in your Hugging Face Space > Settings > Repository secrets
21
  hf_token = os.environ.get("hugface") # Using "HF_TOKEN" is the standard on Spaces
22
  if not hf_token:
23
  raise ValueError("HF_TOKEN not found. Please set it in Hugging Face Space repository secrets.")
@@ -26,7 +24,7 @@ print("Successfully logged into Hugging Face Hub!")
26
 
27
  # --- Configuration ---
28
  STT_MODEL_ID = "EYEDOL/SALAMA_C3"
29
- LLM_MODEL_ID = "EYEDOL/Llama-3.2-3b_ON_ALPACA5"
30
  TTS_TOKENIZER_ID = "facebook/mms-tts-swh"
31
  TTS_ONNX_MODEL_PATH = "swahili_tts.onnx"
32
 
 
16
  from huggingface_hub import login
17
  import threading
18
 
 
 
19
  hf_token = os.environ.get("hugface") # Using "HF_TOKEN" is the standard on Spaces
20
  if not hf_token:
21
  raise ValueError("HF_TOKEN not found. Please set it in Hugging Face Space repository secrets.")
 
24
 
25
  # --- Configuration ---
26
  STT_MODEL_ID = "EYEDOL/SALAMA_C3"
27
+ LLM_MODEL_ID = "EYEDOL/Llama-3.2-1B_ON_ALPACA5"
28
  TTS_TOKENIZER_ID = "facebook/mms-tts-swh"
29
  TTS_ONNX_MODEL_PATH = "swahili_tts.onnx"
30