jdesiree commited on
Commit
a9808fe
ยท
verified ยท
1 Parent(s): aefd6d2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -12
app.py CHANGED
@@ -106,17 +106,8 @@ def respond_with_langchain(
106
  # Create the Gradio interface
107
  demo = gr.ChatInterface(
108
  respond_with_langchain,
109
- title="๐ŸŽ“ EduBot - AI Learning Assistant",
110
- description="""
111
- Your personal AI tutor powered by LangChain! I automatically adapt my teaching style based on your question:
112
-
113
- โ€ข ๐Ÿงฎ **Math Mode** - Step-by-step problem solving
114
- โ€ข ๐Ÿ” **Research Mode** - Source finding and citation help
115
- โ€ข ๐Ÿ“š **Study Mode** - Learning strategies and test prep
116
- โ€ข ๐ŸŽ“ **General Mode** - All-around educational support
117
-
118
- Try asking me anything about learning!
119
- """,
120
  examples=[
121
  ["Solve the equation 3x + 7 = 22 step by step"],
122
  ["How do I find reliable sources for my history paper?"],
@@ -126,7 +117,7 @@ demo = gr.ChatInterface(
126
  ],
127
  additional_inputs=[
128
  gr.Textbox(
129
- value="You are EduBot, an expert AI learning assistant powered by LangChain prompt templates.",
130
  label="System message",
131
  visible=False
132
  ),
 
106
  # Create the Gradio interface
107
  demo = gr.ChatInterface(
108
  respond_with_langchain,
109
+ title="๐ŸŽ“ EduBot | AI Learning Assistant",
110
+ description="Your personal AI tutor",
 
 
 
 
 
 
 
 
 
111
  examples=[
112
  ["Solve the equation 3x + 7 = 22 step by step"],
113
  ["How do I find reliable sources for my history paper?"],
 
117
  ],
118
  additional_inputs=[
119
  gr.Textbox(
120
+ value="You are EduBot, an education assitance. You aid users in studying and understanding new concepts. You show, not tell, how to perform mathematical problem solving, research, study concepts, and utilize study tools.",
121
  label="System message",
122
  visible=False
123
  ),