Skip to content

Commit 8203a60

Browse files
committed
Updating tab icon and text
1 parent 4e3142f commit 8203a60

2 files changed

Lines changed: 13 additions & 1 deletion

File tree

app.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
ui_header,
1515
ui_lockout_reset,
1616
ui_model_params,
17+
ui_tab,
1718
ui_upload_docs,
1819
)
1920
from helper.user_management import (
@@ -24,8 +25,11 @@
2425
)
2526

2627

27-
### session initialization/login
28+
# tab icon and text
29+
ui_tab()
30+
2831

32+
### session initialization/login
2933

3034
determine_availability()
3135

helper/ui.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,14 @@
88
from helper.user_management import clear_models, record_use, update_server_state
99

1010

11+
def ui_tab():
12+
"tab title and icon"
13+
st.set_page_config(
14+
page_title="Local LLM",
15+
page_icon="https://www.svgrepo.com/show/375527/ai-platform.svg",
16+
)
17+
18+
1119
def import_styles():
1220
"import styles sheet and determine avatars of users"
1321
with open("styles/style.css") as css:

0 commit comments

Comments
 (0)