jchen8000 commited on
Commit
3c4f61a
·
verified ·
1 Parent(s): ac6de29

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -19,9 +19,9 @@ from langchain_groq import ChatGroq
19
  # conversation = ConversationChain(llm=llm, memory=memory)
20
 
21
  # Function to generate responses
22
- def generate_response(user_input):
23
  # response = conversation.run(user_input)
24
- return user_input
25
 
26
  # Define additional inputs and examples if needed
27
  additional_inputs = [
 
19
  # conversation = ConversationChain(llm=llm, memory=memory)
20
 
21
  # Function to generate responses
22
+ def generate_response(user_input, history, locale, model, temperature, max_tokens, top_p, seed):
23
  # response = conversation.run(user_input)
24
+ return user_input + ", " + history
25
 
26
  # Define additional inputs and examples if needed
27
  additional_inputs = [