Spaces:
Unmid
/
Runtime error

Nafiul Huda commited on
Commit
94bbfa3
·
verified ·
1 Parent(s): 1ba3e79

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -22,12 +22,12 @@ MAX_MEMORY = 20
22
  MAX_NEW_TOKENS = int(os.environ.get("MAX_NEW_TOKENS", "300"))
23
  TTS_VOICE = "zh-CN-XiaoyiNeural"
24
  TTS_RATE = int(os.environ.get("TTS_RATE", "-4"))
25
- TTS_PITCH = int(os.environ.get("TTS_PITCH", "7"))
26
  IMG_DIR = Path(__file__).parent / "img"
27
 
28
  # You can swap this with ANY GGUF model
29
  GGUF_REPO = os.environ.get("GGUF_REPO", "Qwen/Qwen2.5-1.5B-Instruct-GGUF")
30
- GGUF_FILE = os.environ.get("GGUF_FILE", "qwen2.5-1.5b-instruct-q2_k_m.gguf")
31
  MODEL_DIR = Path(__file__).parent / "models"
32
  LLAMA_BIN_DIR = Path(__file__).parent / "llama_bin"
33
  LLAMA_EXE = LLAMA_BIN_DIR / "llama-server"
 
22
  MAX_NEW_TOKENS = int(os.environ.get("MAX_NEW_TOKENS", "300"))
23
  TTS_VOICE = "zh-CN-XiaoyiNeural"
24
  TTS_RATE = int(os.environ.get("TTS_RATE", "-4"))
25
+ TTS_PITCH = int(os.environ.get("TTS_PITCH", "6"))
26
  IMG_DIR = Path(__file__).parent / "img"
27
 
28
  # You can swap this with ANY GGUF model
29
  GGUF_REPO = os.environ.get("GGUF_REPO", "Qwen/Qwen2.5-1.5B-Instruct-GGUF")
30
+ GGUF_FILE = os.environ.get("GGUF_FILE", "qwen2.5-1.5b-instruct-q2_k.gguf")
31
  MODEL_DIR = Path(__file__).parent / "models"
32
  LLAMA_BIN_DIR = Path(__file__).parent / "llama_bin"
33
  LLAMA_EXE = LLAMA_BIN_DIR / "llama-server"