File size: 978 Bytes
a645df8
 
 
 
 
 
af688eb
 
 
a645df8
 
 
 
 
 
968f4bc
 
 
 
 
573a89c
 
 
 
 
968f4bc
573a89c
 
 
 
 
 
 
968f4bc
a645df8
98a3259
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
import streamlit as st

intro_page = st.Page(
    "application_pages/intro_page.py", title="Introduction", icon=":material/guardian:"
)
chat_page = st.Page(
    "application_pages/chat_app.py",
    title="Playground",
    icon=":material/sports_esports:",
)
evaluation_page = st.Page(
    "application_pages/evaluation_app.py",
    title="Evaluation",
    icon=":material/monitoring:",
)
train_classifier_page = st.Page(
    "application_pages/train_classifier.py",
    title="Train Classifier",
    icon=":material/fitness_center:",
)
llama_guard_fine_tuning_page = st.Page(
    "application_pages/llama_guard_fine_tuning.py",
    title="Fine-Tune LLama Guard",
    icon=":material/star:",
)
page_navigation = st.navigation(
    [
        intro_page,
        chat_page,
        evaluation_page,
        train_classifier_page,
        llama_guard_fine_tuning_page,
    ]
)
st.set_page_config(page_title="Guardrails Genie", page_icon=":material/guardian:")
page_navigation.run()