Spaces:
Sleeping
Sleeping
Update app.py
Browse files3 unmodified lines45677891026 unmodified lines37383940404142433 unmodified linesfrom openai import OpenAIfrom prompts.main_prompt import MAIN_PROMPT
# Load API key# ✅ Load API keyif os.path.exists(".env"): load_dotenv(".env")
26 unmodified lines
return "", history
# ✅ **Ensure MathJax is Enabled for LaTeX Rendering**# ✅ Ensure MathJax is enabled for LaTeX renderingwith gr.Blocks() as demo: gr.Markdown("# AI-Guided Math PD Chatbot")
app.py+2-2