Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -45,6 +45,12 @@ if uploaded_file is not None:
|
|
| 45 |
st.subheader("گزارش تحلیلی")
|
| 46 |
average_height = df['Height'].mean()
|
| 47 |
average_growth = df['Growth'].mean()
|
| 48 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 49 |
st.markdown(f"* **میانگین ارتفاع:** {average_height:.2f} سانتیمتر")
|
| 50 |
st.markdown(f"* **میانگین رشد:** {average_growth:.2f} سانتیمتر")
|
|
|
|
| 45 |
st.subheader("گزارش تحلیلی")
|
| 46 |
average_height = df['Height'].mean()
|
| 47 |
average_growth = df['Growth'].mean()
|
| 48 |
+
# Load custom CSS
|
| 49 |
+
def load_css(file_path):
|
| 50 |
+
with open(file_path) as f:
|
| 51 |
+
st.markdown(f'<style>{f.read()}</style>', unsafe_allow_html=True)
|
| 52 |
+
|
| 53 |
+
load_css("styles.css")
|
| 54 |
+
|
| 55 |
st.markdown(f"* **میانگین ارتفاع:** {average_height:.2f} سانتیمتر")
|
| 56 |
st.markdown(f"* **میانگین رشد:** {average_growth:.2f} سانتیمتر")
|