Update app.py
Browse files
app.py
CHANGED
|
@@ -9,10 +9,7 @@ HF_TOKEN = os.getenv("HF_TOKEN", None)
|
|
| 9 |
os.environ["TOKENIZERS_PARALLELISM"] = "false"
|
| 10 |
torch.set_num_threads(max(1, (os.cpu_count() or 4) - 1))
|
| 11 |
|
| 12 |
-
SYSTEM_PROMPT = (
|
| 13 |
-
"You are a helpful assistant. Answer clearly and concisely. "
|
| 14 |
-
"If the user asks for tool JSON, return only valid JSON."
|
| 15 |
-
)
|
| 16 |
|
| 17 |
print("Loading tokenizer...")
|
| 18 |
tokenizer = AutoTokenizer.from_pretrained(
|
|
|
|
| 9 |
os.environ["TOKENIZERS_PARALLELISM"] = "false"
|
| 10 |
torch.set_num_threads(max(1, (os.cpu_count() or 4) - 1))
|
| 11 |
|
| 12 |
+
SYSTEM_PROMPT = ()
|
|
|
|
|
|
|
|
|
|
| 13 |
|
| 14 |
print("Loading tokenizer...")
|
| 15 |
tokenizer = AutoTokenizer.from_pretrained(
|