Spaces:
Sleeping
Sleeping
Update app.py
Browse files123434536 unmodified lines424344474546import 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 lines with st.chat_message("assistant"): st.markdown(chatbot_response) else: st.error("Failed to get response from Groq API") st.error("Failed to get response from Groq API") streamlit run educational_chatbot.pyapp.py+2-3