Skip to content

Commit

Permalink
chore: clean up unused classes and css
Browse files Browse the repository at this point in the history
  • Loading branch information
maartenbreddels committed Nov 10, 2023
1 parent d747e02 commit a5a5fb4
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions wanderlust.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ def ChatMessage(message):
elif message.role == "user":
solara.Text(
message.content[0].text.value,
classes=["chat-message", "chat-user-message"],
style={"font-weight": "bold;"},
)
elif message.role == "assistant":
if message.content[0].text.value:
Expand All @@ -154,7 +154,6 @@ def ChatMessage(message):
)
solara.Preformatted(
repr(message),
classes=["chat-message", "assistant-message"],
)
else:
solara.v.Icon(
Expand All @@ -163,7 +162,6 @@ def ChatMessage(message):
)
solara.Preformatted(
repr(message),
classes=["chat-message", "assistant-message"],
)


Expand All @@ -177,9 +175,6 @@ def ChatBox(children=[]):
.chat-box > :last-child{
padding-top: 7.5vh;
}
.chat-user-message{
font-weight: bold;
}
"""
)
solara.Column(
Expand Down

0 comments on commit a5a5fb4

Please sign in to comment.