Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -3,7 +3,7 @@ from langchain_groq import ChatGroq
|
|
3 |
import yfinance as yf
|
4 |
|
5 |
# Initialize the ChatGroq model
|
6 |
-
llm = ChatGroq(model_name="Llama3-8b-8192", api_key=
|
7 |
|
8 |
# Custom CSS for dark blue theme
|
9 |
st.markdown(
|
|
|
3 |
import yfinance as yf
|
4 |
|
5 |
# Initialize the ChatGroq model
|
6 |
+
llm = ChatGroq(model_name="Llama3-8b-8192", api_key=st.secrets['groq_api_key']) # Ensure this key is set in your Hugging Face secrets
|
7 |
|
8 |
# Custom CSS for dark blue theme
|
9 |
st.markdown(
|