bobpopboom commited on
Commit
5827377
·
verified ·
1 Parent(s): 68cf9c5
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -5,8 +5,9 @@ import torch
5
 
6
  # Determine device (ctranslate2 handles device placement internally)
7
  device = "cuda" if torch.cuda.is_available() else "cpu" # Still useful for other ops
8
-
9
- model_path = "mradermacher/TinyLlama-Friendly-Psychotherapist-GGUF/TinyLlama-Friendly-Psychotherapist.Q4_K_S.gguf"
 
10
 
11
  try:
12
  # 1. Load the tokenizer (same as before)
 
5
 
6
  # Determine device (ctranslate2 handles device placement internally)
7
  device = "cuda" if torch.cuda.is_available() else "cpu" # Still useful for other ops
8
+ model="thrishala/mental_health_chatbot"
9
+ model_download_link = "https://huggingface.co/mradermacher/TinyLlama-Friendly-Psychotherapist-GGUF/resolve/main/TinyLlama-Friendly-Psychotherapist.Q4_K_S.gguf"
10
+ model_path = "TinyLlama-Friendly-Psychotherapist.Q4_K_S.gguf" # gguf
11
 
12
  try:
13
  # 1. Load the tokenizer (same as before)