Spaces:
Sleeping
Sleeping
Update app.py
Browse files123456736 unmodified lines44454647import streamlit as stimport requestsstreamlit run educational_chatbot.py# Set up the Groq API endpoint and your API keyGROQ_API_URL = "https://api.groq.com/v1/chat/completions"GROQ_API_KEY = "your_groq_api_key_here" # Replace with your actual Groq API key36 unmodified lineswith st.chat_message("assistant"):st.markdown(chatbot_response)else:st.error("Failed to get response from Groq API")1234536 unmodified lines4243444546import streamlit as stimport requests# Set up the Groq API endpoint and your API keyGROQ_API_URL = "https://api.groq.com/v1/chat/completions"GROQ_API_KEY = "your_groq_api_key_here" # Replace with your actual Groq API key36 unmodified lineswith st.chat_message("assistant"):st.markdown(chatbot_response)else:st.error("Failed to get response from Groq API")streamlit run educational_chatbot.py
app.py+2-3