Spaces:
Runtime error
Runtime error
Update src/streamlit_app.py
Browse files- src/streamlit_app.py +2 -2
src/streamlit_app.py
CHANGED
|
@@ -585,6 +585,7 @@ def load_reviewed_keys(repo_id: str, dir_id: str, prefix: str, reviewer: Optiona
|
|
| 585 |
except Exception:
|
| 586 |
continue
|
| 587 |
|
|
|
|
| 588 |
@st.cache_data(show_spinner=False)
|
| 589 |
def load_review_index(repo_id: str, dir_id: str, prefix: str, reviewer: Optional[str] = None) -> Dict[str, Dict[str, Any]]:
|
| 590 |
"""
|
|
@@ -630,7 +631,6 @@ def load_review_index(repo_id: str, dir_id: str, prefix: str, reviewer: Optional
|
|
| 630 |
except Exception:
|
| 631 |
continue
|
| 632 |
return index
|
| 633 |
-
return reviewed
|
| 634 |
|
| 635 |
|
| 636 |
# =========================
|
|
@@ -1296,4 +1296,4 @@ with col_right:
|
|
| 1296 |
expl = row.get("dir_score_explanation")
|
| 1297 |
if expl:
|
| 1298 |
st.markdown("**dir_score_explanation:**")
|
| 1299 |
-
st.write(expl)
|
|
|
|
| 585 |
except Exception:
|
| 586 |
continue
|
| 587 |
|
| 588 |
+
return reviewed
|
| 589 |
@st.cache_data(show_spinner=False)
|
| 590 |
def load_review_index(repo_id: str, dir_id: str, prefix: str, reviewer: Optional[str] = None) -> Dict[str, Dict[str, Any]]:
|
| 591 |
"""
|
|
|
|
| 631 |
except Exception:
|
| 632 |
continue
|
| 633 |
return index
|
|
|
|
| 634 |
|
| 635 |
|
| 636 |
# =========================
|
|
|
|
| 1296 |
expl = row.get("dir_score_explanation")
|
| 1297 |
if expl:
|
| 1298 |
st.markdown("**dir_score_explanation:**")
|
| 1299 |
+
st.write(expl)
|