Spaces:
Sleeping
Sleeping
Commit
·
ccfe9b7
1
Parent(s):
7366a26
Update src/backend/chatbot.py
Browse files- src/backend/chatbot.py +1 -1
src/backend/chatbot.py
CHANGED
@@ -26,7 +26,7 @@ model = 'Llama2-7B_CPP'
|
|
26 |
|
27 |
|
28 |
# initialize model
|
29 |
-
if st.session_state.demo_lite
|
30 |
if model == 'Llama2-7B_CPP':
|
31 |
model_path = "/Users/dheym/Library/CloudStorage/OneDrive-Personal/Documents/side_projects/GRDN/src/models/llama-2-7b-chat.Q4_K_M.gguf"
|
32 |
llm = LlamaCPP(
|
|
|
26 |
|
27 |
|
28 |
# initialize model
|
29 |
+
if st.session_state.demo_lite == False:
|
30 |
if model == 'Llama2-7B_CPP':
|
31 |
model_path = "/Users/dheym/Library/CloudStorage/OneDrive-Personal/Documents/side_projects/GRDN/src/models/llama-2-7b-chat.Q4_K_M.gguf"
|
32 |
llm = LlamaCPP(
|