Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -21,7 +21,8 @@ from langchain_groq import ChatGroq
|
|
21 |
# conversation = ConversationChain(llm=llm, memory=memory)
|
22 |
|
23 |
# Function to generate responses
|
24 |
-
def generate_response(user_input, history,
|
|
|
25 |
|
26 |
# Initialize Groq Langchain chat object and conversation
|
27 |
groq_chat = ChatGroq(
|
|
|
21 |
# conversation = ConversationChain(llm=llm, memory=memory)
|
22 |
|
23 |
# Function to generate responses
|
24 |
+
def generate_response(user_input, history, model, temperature, max_tokens, top_p, seed):
|
25 |
+
print( "Model =", model)
|
26 |
|
27 |
# Initialize Groq Langchain chat object and conversation
|
28 |
groq_chat = ChatGroq(
|