Spaces:
Sleeping
Sleeping
Update app.py
Browse files10 unmodified lines1112131415161710 unmodified lines# Initialize the Google Generative AI with the model and API key# llm = ChatGoogleGenerativeAI(model="gemini-pro", google_api_key=st.secrets["GOOGLE_API_KEY"])if api_choice == "Google Gemini":llm = ChatGoogleGenerativeAI(model="gemini-pro", google_api_key=st.secrets["GOOGLE_API_KEY"])elif api_choice == "Groq":llm = ChatGroq(model_name="mixtral-8x7b-32768", temperature=0, api_key=st.secrets["GROQ_API_KEY"])10 unmodified lines1112131415161710 unmodified lines# Initialize the Google Generative AI with the model and API key# llm = ChatGoogleGenerativeAI(model="gemini-pro", google_api_key=st.secrets["GOOGLE_API_KEY"])if api_choice == "Gemini":llm = ChatGoogleGenerativeAI(model="gemini-pro", google_api_key=st.secrets["GOOGLE_API_KEY"])elif api_choice == "Groq":llm = ChatGroq(model_name="mixtral-8x7b-32768", temperature=0, api_key=st.secrets["GROQ_API_KEY"])
app.py+1-1