Spaces:
Paused
Paused
Commit
·
ce7ced7
1
Parent(s):
5420626
updated
Browse files
app.py
CHANGED
@@ -91,6 +91,10 @@ def init_hf_model() -> None:
|
|
91 |
_hf_model = model
|
92 |
_hf_tokenizer = tokenizer
|
93 |
|
|
|
|
|
|
|
|
|
94 |
def init_chatbot() -> None:
|
95 |
"""Initialise the Chroma vector DB with chatbot.txt content."""
|
96 |
global _chatbot_embedder, _chatbot_collection
|
|
|
91 |
_hf_model = model
|
92 |
_hf_tokenizer = tokenizer
|
93 |
|
94 |
+
HF_MODEL_NAME = "facebook/blenderbot-400M-distill"
|
95 |
+
_chatbot_embedder = None
|
96 |
+
_chatbot_collection = None
|
97 |
+
|
98 |
def init_chatbot() -> None:
|
99 |
"""Initialise the Chroma vector DB with chatbot.txt content."""
|
100 |
global _chatbot_embedder, _chatbot_collection
|