Spaces:
Sleeping
Sleeping
Update src/streamlit_app.py
Browse files- src/streamlit_app.py +3 -19
src/streamlit_app.py
CHANGED
|
@@ -370,9 +370,9 @@ with st.sidebar:
|
|
| 370 |
|
| 371 |
st.markdown("---")
|
| 372 |
|
| 373 |
-
|
| 374 |
-
|
| 375 |
-
|
| 376 |
|
| 377 |
# Hardcoded email
|
| 378 |
st.session_state.user_email = "halozen@pm.me"
|
|
@@ -626,22 +626,6 @@ with tab3:
|
|
| 626 |
help="Search by topic or keyword"
|
| 627 |
)
|
| 628 |
|
| 629 |
-
with col2:
|
| 630 |
-
api_year_from = st.number_input(
|
| 631 |
-
"Publication Year From",
|
| 632 |
-
min_value=1900,
|
| 633 |
-
max_value=2025,
|
| 634 |
-
value=2020,
|
| 635 |
-
help="Start year for publication range"
|
| 636 |
-
)
|
| 637 |
-
|
| 638 |
-
api_year_to = st.number_input(
|
| 639 |
-
"Publication Year To",
|
| 640 |
-
min_value=1900,
|
| 641 |
-
max_value=2025,
|
| 642 |
-
value=2025,
|
| 643 |
-
help="End year for publication range"
|
| 644 |
-
)
|
| 645 |
|
| 646 |
api_max_results = st.number_input(
|
| 647 |
"Maximum Results",
|
|
|
|
| 370 |
|
| 371 |
st.markdown("---")
|
| 372 |
|
| 373 |
+
st.subheader("⚙️ API Settings")
|
| 374 |
+
st.caption("💡 Email included in API requests for OpenAlex 'polite pool' (faster access)")
|
| 375 |
+
st.code("halozen@pm.me", language=None)
|
| 376 |
|
| 377 |
# Hardcoded email
|
| 378 |
st.session_state.user_email = "halozen@pm.me"
|
|
|
|
| 626 |
help="Search by topic or keyword"
|
| 627 |
)
|
| 628 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 629 |
|
| 630 |
api_max_results = st.number_input(
|
| 631 |
"Maximum Results",
|