Skip to content

Commit

Permalink
revert user avatar
Browse files Browse the repository at this point in the history
  • Loading branch information
pmeier committed Jan 3, 2024
1 parent 944be85 commit 9730daa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ragna/deploy/_ui/central_view.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ def avatar_lookup(self, user: str) -> str:
if self.role == "system":
return "imgs/ragna_logo.svg"
elif self.role == "user":
return user[0].upper()
return "👤"

try:
organization, model = user.split("/")
Expand Down Expand Up @@ -235,7 +235,7 @@ def __init__(self, api_wrapper, **params):
super().__init__(**params)

# FIXME: make this dynamic from the login
self.user = "User"
self.user = ""
self.api_wrapper = api_wrapper
self.chat_info_button = pn.widgets.Button(
# The name will be filled at runtime in self.header
Expand Down

0 comments on commit 9730daa

Please sign in to comment.