File size: 504 Bytes
4bb23aa
 
f5c1383
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4bb23aa
 
f5c1383
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
import streamlit as st

# set page to wide
st.set_page_config(layout="wide")

st.header('ChatStudio')

# Create sidebar with dropdown menu with content about the app
with st.sidebar:
    st.subheader('ChatStudio')
    page = st.selectbox("Choose a context", [
        'Wiki', 
        'Github',
        'HuggingFace',
    ])



# Create  st.tabs
tabs = st.tabs(
    [
        "Wiki",
        "Github",
        "HuggingFace",
    ]
)





x = st.slider('Select a value')
st.write(x, 'squared is', x * x)