Update app.py
Browse files
app.py
CHANGED
@@ -24,7 +24,7 @@ if not groq_api_key:
|
|
24 |
|
25 |
# Initialize ChatGroq LLM with error handling
|
26 |
try:
|
27 |
-
llm = ChatGroq(
|
28 |
except Exception as e:
|
29 |
st.error(f"Failed to initialize ChatGroq LLM: {e}")
|
30 |
st.stop()
|
|
|
24 |
|
25 |
# Initialize ChatGroq LLM with error handling
|
26 |
try:
|
27 |
+
llm = ChatGroq(groq_api_key=groq_api_key, model_name="Llama3-8b-8192")
|
28 |
except Exception as e:
|
29 |
st.error(f"Failed to initialize ChatGroq LLM: {e}")
|
30 |
st.stop()
|