Spaces:
Sleeping
Sleeping
Mahdi Naser Moghadasi commited on
Commit Β·
7df0325
1
Parent(s): 7cd64bd
Move 'About Albert' section below Memory Features in left column
Browse files
app.py
CHANGED
|
@@ -1594,6 +1594,15 @@ with gr.Blocks(
|
|
| 1594 |
- **Follow-up Questions**: Ask follow-up questions naturally
|
| 1595 |
- **Learning Continuity**: Builds on previous topics discussed
|
| 1596 |
""")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1597 |
|
| 1598 |
with gr.Column(scale=2):
|
| 1599 |
# Big frame for Albert's image at the top
|
|
@@ -1655,15 +1664,6 @@ with gr.Blocks(
|
|
| 1655 |
value="",
|
| 1656 |
label="Context Memory"
|
| 1657 |
)
|
| 1658 |
-
|
| 1659 |
-
# Albert's personality info
|
| 1660 |
-
gr.Markdown("""
|
| 1661 |
-
### π§ About Albert
|
| 1662 |
-
- **Personality**: Fun, encouraging, and enthusiastic! π
|
| 1663 |
-
- **Specialty**: Making learning fun with emojis and examples! β¨
|
| 1664 |
-
- **Age-appropriate**: Adapts explanations to your age group! π―
|
| 1665 |
-
- **Always positive**: Encourages questions and curiosity! π
|
| 1666 |
-
""")
|
| 1667 |
|
| 1668 |
# Event handlers for Albert chat
|
| 1669 |
def send_message_with_typing(message, name, age_group, history):
|
|
|
|
| 1594 |
- **Follow-up Questions**: Ask follow-up questions naturally
|
| 1595 |
- **Learning Continuity**: Builds on previous topics discussed
|
| 1596 |
""")
|
| 1597 |
+
|
| 1598 |
+
# Albert's personality info (moved below memory feature)
|
| 1599 |
+
gr.Markdown("""
|
| 1600 |
+
### π§ About Albert
|
| 1601 |
+
- **Personality**: Fun, encouraging, and enthusiastic! π
|
| 1602 |
+
- **Specialty**: Making learning fun with emojis and examples! β¨
|
| 1603 |
+
- **Age-appropriate**: Adapts explanations to your age group! π―
|
| 1604 |
+
- **Always positive**: Encourages questions and curiosity! π
|
| 1605 |
+
""")
|
| 1606 |
|
| 1607 |
with gr.Column(scale=2):
|
| 1608 |
# Big frame for Albert's image at the top
|
|
|
|
| 1664 |
value="",
|
| 1665 |
label="Context Memory"
|
| 1666 |
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1667 |
|
| 1668 |
# Event handlers for Albert chat
|
| 1669 |
def send_message_with_typing(message, name, age_group, history):
|