Update app.py
Browse files
app.py
CHANGED
|
@@ -584,7 +584,7 @@ if st.session_state.app_step == "intro":
|
|
| 584 |
st.markdown(f"This software is developed by *Smart Thinking AI-Solutions Team* to estimate **Minimum Horizontal Stress** ({UNITS}) from drilling/offset data.")
|
| 585 |
st.subheader("How It Works")
|
| 586 |
st.markdown(
|
| 587 |
-
"1) **Upload your
|
| 588 |
"2) **Validate** on held-out wells (with actual). \n"
|
| 589 |
"3) **Predict** on wells without actual."
|
| 590 |
)
|
|
@@ -602,7 +602,7 @@ def _find_sheet(book, names):
|
|
| 602 |
|
| 603 |
if st.session_state.app_step == "dev":
|
| 604 |
st.sidebar.header("Case Building")
|
| 605 |
-
up = st.sidebar.file_uploader("Upload Your Data File
|
| 606 |
if up is not None:
|
| 607 |
st.session_state.dev_file_bytes = up.getvalue()
|
| 608 |
st.session_state.dev_file_name = up.name
|
|
|
|
| 584 |
st.markdown(f"This software is developed by *Smart Thinking AI-Solutions Team* to estimate **Minimum Horizontal Stress** ({UNITS}) from drilling/offset data.")
|
| 585 |
st.subheader("How It Works")
|
| 586 |
st.markdown(
|
| 587 |
+
"1) **Upload your data file** and click **Run Model** to fit the baked-in pipeline. \n"
|
| 588 |
"2) **Validate** on held-out wells (with actual). \n"
|
| 589 |
"3) **Predict** on wells without actual."
|
| 590 |
)
|
|
|
|
| 602 |
|
| 603 |
if st.session_state.app_step == "dev":
|
| 604 |
st.sidebar.header("Case Building")
|
| 605 |
+
up = st.sidebar.file_uploader("Upload Your Data File", type=["xlsx","xls"])
|
| 606 |
if up is not None:
|
| 607 |
st.session_state.dev_file_bytes = up.getvalue()
|
| 608 |
st.session_state.dev_file_name = up.name
|