jchen8000 commited on
Commit
41c33c0
·
verified ·
1 Parent(s): 03db62a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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 = 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.