Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -24,7 +24,7 @@ memory = ConversationBufferWindowMemory(k=5, memory_key="chat_history", return_m
|
|
24 |
def generate_response(user_input, history, model, temperature, max_tokens, top_p, seed):
|
25 |
print( "Model =", model)
|
26 |
|
27 |
-
groq_chat.model_name =
|
28 |
prompt = ChatPromptTemplate.from_messages(
|
29 |
[
|
30 |
# This is the persistent system prompt, sets the initial context for the AI.
|
|
|
24 |
def generate_response(user_input, history, model, temperature, max_tokens, top_p, seed):
|
25 |
print( "Model =", model)
|
26 |
|
27 |
+
groq_chat.model_name = model
|
28 |
prompt = ChatPromptTemplate.from_messages(
|
29 |
[
|
30 |
# This is the persistent system prompt, sets the initial context for the AI.
|