Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

114 roadmap create a UI for whitebox server using streamlit or similar tools #131

Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
85ddea2
Initialised streamlit dev
stavrostheocharis Feb 8, 2023
0ea94c0
Added Drift parts
stavrostheocharis Feb 10, 2023
a625120
App formating
stavrostheocharis Feb 11, 2023
fd9badc
Formated overview and drifting tabs
stavrostheocharis Feb 11, 2023
2e65d34
Additions
stavrostheocharis Feb 12, 2023
6bfc696
Added markdowns in functions
stavrostheocharis Feb 12, 2023
3cd5203
Removed unused imports from app
stavrostheocharis Feb 12, 2023
0031cb4
Inferences tab addition
stavrostheocharis Feb 15, 2023
3f9e3c8
Added style to inferences dataframe
stavrostheocharis Feb 15, 2023
4925535
Adjustments and additions
stavrostheocharis Feb 15, 2023
c97f2ff
Added monitors tab
stavrostheocharis Feb 16, 2023
99b2fab
Added alerts tab
stavrostheocharis Feb 16, 2023
e94d818
Added filters in alerts
stavrostheocharis Feb 17, 2023
3e69aad
Formating
stavrostheocharis Feb 17, 2023
8ce1019
Additions for different model types
stavrostheocharis Feb 17, 2023
035c478
Fixed types and name conventions
stavrostheocharis Feb 17, 2023
15e2e10
SDK connection to streamlit
stavrostheocharis Feb 20, 2023
2e6483a
Added sdk functionality in Streamlit
stavrostheocharis Feb 20, 2023
384a5ed
Added connection functionality in sidebar
stavrostheocharis Feb 20, 2023
424ee25
Additions
stavrostheocharis Feb 21, 2023
b086ad0
Adjusted expanders descriptions
stavrostheocharis Feb 21, 2023
10d0de3
Added cache functionality
stavrostheocharis Feb 21, 2023
7235d1a
Minor fixes
stavrostheocharis Feb 21, 2023
bb7e4f5
Additions/adjustments
stavrostheocharis Feb 23, 2023
65d513f
Deleted prints
stavrostheocharis Feb 23, 2023
0648112
Added error catch in inference log
stavrostheocharis Feb 23, 2023
4a1746e
Merge branch 'main' into 114-roadmap-create-a-ui-for-whitebox-server-…
stavrostheocharis Feb 23, 2023
9494457
Black formating
stavrostheocharis Feb 23, 2023
7b9f093
Black formating
stavrostheocharis Feb 23, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Minor fixes
  • Loading branch information
stavrostheocharis committed Feb 21, 2023
commit 7235d1acc111713fab927b0fc568cab6a2dfacc5
4 changes: 0 additions & 4 deletions whitebox/streamlit/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,6 @@

from whitebox import Whitebox

# wb = Whitebox(
# host="http://127.0.0.1:8000",
# api_key="c37b902f5af13c43af33652770d7c51008f5e18b0cf4cf9cc870ab93bea98f3f",
# )
st.set_option("deprecation.showPyplotGlobalUse", False)

# ----------------------------------------------
Expand Down
4 changes: 1 addition & 3 deletions whitebox/streamlit/mock_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,7 @@

st.set_option("deprecation.showPyplotGlobalUse", False)

# Load config
# st.set_page_config(page_title="Whitebox", layout="wide")

# The below lines are temp until we have the performance metricc functionality
# ----------------------------------------
def format_evaluation_metrics_binary(
accuracy: float,
Expand Down
6 changes: 3 additions & 3 deletions whitebox/streamlit/tabs/sidebar.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,15 +46,15 @@ def create_sidebar() -> Tuple[

with settings_expander:
host_option = st.text_input(
"Paste here your host url:",
"Paste here your Host URL:",
max_chars=21,
placeholder="http://127.0.0.1:8000",
value="http://127.0.0.1:8000",
help=readme["tooltips"]["host"],
)

api_key_option = st.text_input(
"Paste here your api key:",
"Paste here your API key:",
max_chars=64,
type="password",
placeholder="your api key",
Expand Down Expand Up @@ -130,7 +130,7 @@ def create_new_model(wb: Whitebox, readme: Dict[str, Any]):
def create_model_type_select_box(readme: Dict[str, Any], key: str):
model_type_option_list = ["binary", "multi_class", "regression"]
model_type_option = st.selectbox(
"Please select one of the found models below:",
"Please select model:",
model_type_option_list,
help=readme["tooltips"]["model_type"],
key=key,
Expand Down