Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -56,14 +56,15 @@ def main():
|
|
56 |
groq_api_key=groq_api_key,
|
57 |
model_name=model
|
58 |
)
|
|
|
|
|
|
|
|
|
59 |
else:
|
60 |
st.text_input("Please enter your Groq API key")
|
61 |
|
62 |
|
63 |
-
|
64 |
-
llm=groq_chat,
|
65 |
-
memory=memory
|
66 |
-
)
|
67 |
|
68 |
# If the user has asked a question,
|
69 |
if user_question:
|
|
|
56 |
groq_api_key=groq_api_key,
|
57 |
model_name=model
|
58 |
)
|
59 |
+
conversation = ConversationChain(
|
60 |
+
llm=groq_chat,
|
61 |
+
memory=memory
|
62 |
+
)
|
63 |
else:
|
64 |
st.text_input("Please enter your Groq API key")
|
65 |
|
66 |
|
67 |
+
|
|
|
|
|
|
|
68 |
|
69 |
# If the user has asked a question,
|
70 |
if user_question:
|