alibicer commited on
Commit
3579a32
·
verified ·
1 Parent(s): 1484436

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -4,7 +4,7 @@ from dotenv import load_dotenv
4
  from openai import OpenAI
5
  from prompts.main_prompt import MAIN_PROMPT
6
 
7
- # Load API key
8
  if os.path.exists(".env"):
9
  load_dotenv(".env")
10
 
@@ -37,7 +37,7 @@ def respond(user_message, history):
37
 
38
  return "", history
39
 
40
- # ✅ **Ensure MathJax is Enabled for LaTeX Rendering**
41
  with gr.Blocks() as demo:
42
  gr.Markdown("# AI-Guided Math PD Chatbot")
43
 
 
4
  from openai import OpenAI
5
  from prompts.main_prompt import MAIN_PROMPT
6
 
7
+ # Load API key
8
  if os.path.exists(".env"):
9
  load_dotenv(".env")
10
 
 
37
 
38
  return "", history
39
 
40
+ # ✅ Ensure MathJax is enabled for LaTeX rendering
41
  with gr.Blocks() as demo:
42
  gr.Markdown("# AI-Guided Math PD Chatbot")
43