-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathHome_Page.py
68 lines (48 loc) · 1.49 KB
/
Home_Page.py
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
import streamlit as st
st.set_page_config(
page_title="Home page"
)
st.sidebar.success("Select a model above")
st.session_state["features"] = None
st.session_state["targets"] = None
st.session_state["data"] = None
st.header("Instruction")
st.write("""
1. Head to EDA page to get you data assessed
2. Head to the page with the model you want to try. For now you can choose only the baseline model.
3. After you train you model you can donwload it neatly packed in a zip archive with all the necessary
things for running you own streamlit inference application
4. Unzip the archive as a folder, open the folder directory in terminal and run
1. ```bash
chmod 777 run.sh
```
2. ```bash
./run.sh
```
5. Or you can do all the things specified in run.sh manually
1. create virtual environment:
```bash
python3 -m venv venv
```
2. activate the created virtual environment
For Unix-like systems:
```bash
source venv/bin/activate
```
For Windows:
```bash
source venv/Scripts/activate
```
3. upgrade pip, wheel and setuptools
```bash
pip install -U pip wheel setuptools
```
4. install the requirements
```bash
pip install -r requirements.txt
```
5. run streamlit app
```bash
streamlit run interface.py
```
""")