Spaces:
Sleeping
Sleeping
Update src/streamlit_app.py
Browse files- src/streamlit_app.py +5 -4
src/streamlit_app.py
CHANGED
|
@@ -50,8 +50,9 @@ def main():
|
|
| 50 |
"Upload a monthly admissions report, filter by district/course, and explore "
|
| 51 |
"KPIs, interactive tables, and rich visualizations."
|
| 52 |
)
|
| 53 |
-
|
| 54 |
-
|
|
|
|
| 55 |
if not uploaded:
|
| 56 |
st.sidebar.info("Awaiting your Excel file…")
|
| 57 |
return
|
|
@@ -229,5 +230,5 @@ def main():
|
|
| 229 |
)
|
| 230 |
st.write(resp.choices[0].message.content)
|
| 231 |
|
| 232 |
-
if
|
| 233 |
-
main()
|
|
|
|
| 50 |
"Upload a monthly admissions report, filter by district/course, and explore "
|
| 51 |
"KPIs, interactive tables, and rich visualizations."
|
| 52 |
)
|
| 53 |
+
|
| 54 |
+
# Sidebar: upload
|
| 55 |
+
uploaded = pd.ExcelFile('src/Dataset2.xlsx')
|
| 56 |
if not uploaded:
|
| 57 |
st.sidebar.info("Awaiting your Excel file…")
|
| 58 |
return
|
|
|
|
| 230 |
)
|
| 231 |
st.write(resp.choices[0].message.content)
|
| 232 |
|
| 233 |
+
if _name_ == "_main_":
|
| 234 |
+
main()
|