Spaces:
Sleeping
Sleeping
./ moment maybe?
Browse files
app.py
CHANGED
@@ -7,7 +7,7 @@ import torch
|
|
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)
|
|
|
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)
|