Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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
|
| 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
|
| 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 |
),
|