Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -584,17 +584,7 @@ with tab_analyses:
|
|
| 584 |
)
|
| 585 |
else:
|
| 586 |
st.warning("Analysis file found but empty.")
|
| 587 |
-
# st.markdown(full_summary, unsafe_allow_html=False)
|
| 588 |
-
system = '''### 🔵🔵 Skill Indicator System
|
| 589 |
|
| 590 |
-
| Symbol | Meaning |
|
| 591 |
-
|---------|----------------------------------------------|
|
| 592 |
-
| 🔵 | Clear evidence of the skill that week |
|
| 593 |
-
| 🔵🔵 | Strong or standout performance that week |
|
| 594 |
-
| ⚪⚪ | Little to no evidence for that skill that week|
|
| 595 |
-
|
| 596 |
-
'''
|
| 597 |
-
st.markdown(system)
|
| 598 |
else:
|
| 599 |
# Normalize the selected student name to match filenames
|
| 600 |
norm = _normalize_name(student_choice)
|
|
@@ -609,12 +599,23 @@ with tab_analyses:
|
|
| 609 |
md = _load_markdown(path)
|
| 610 |
if md.strip():
|
| 611 |
st.markdown(md, unsafe_allow_html=False)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 612 |
# Optional download button
|
| 613 |
with open(path, "rb") as f:
|
| 614 |
st.download_button(
|
| 615 |
"Download analysis (.md)", f,
|
| 616 |
file_name=os.path.basename(path), mime="text/markdown"
|
| 617 |
)
|
|
|
|
| 618 |
else:
|
| 619 |
st.warning("Analysis file found but empty.")
|
| 620 |
else:
|
|
|
|
| 584 |
)
|
| 585 |
else:
|
| 586 |
st.warning("Analysis file found but empty.")
|
|
|
|
|
|
|
| 587 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 588 |
else:
|
| 589 |
# Normalize the selected student name to match filenames
|
| 590 |
norm = _normalize_name(student_choice)
|
|
|
|
| 599 |
md = _load_markdown(path)
|
| 600 |
if md.strip():
|
| 601 |
st.markdown(md, unsafe_allow_html=False)
|
| 602 |
+
system = '''### 🔵🔵 Skill Indicator System
|
| 603 |
+
|
| 604 |
+
| Symbol | Meaning |
|
| 605 |
+
|---------|----------------------------------------------|
|
| 606 |
+
| 🔵 | Clear evidence of the skill that week |
|
| 607 |
+
| 🔵🔵 | Strong or standout performance that week |
|
| 608 |
+
| ⚪⚪ | Little to no evidence for that skill that week|
|
| 609 |
+
|
| 610 |
+
'''
|
| 611 |
+
st.markdown(system)
|
| 612 |
# Optional download button
|
| 613 |
with open(path, "rb") as f:
|
| 614 |
st.download_button(
|
| 615 |
"Download analysis (.md)", f,
|
| 616 |
file_name=os.path.basename(path), mime="text/markdown"
|
| 617 |
)
|
| 618 |
+
|
| 619 |
else:
|
| 620 |
st.warning("Analysis file found but empty.")
|
| 621 |
else:
|