Spaces:
Sleeping
Sleeping
Update src/streamlit_app.py
Browse files- src/streamlit_app.py +6 -1
src/streamlit_app.py
CHANGED
|
@@ -241,7 +241,12 @@ with st.sidebar:
|
|
| 241 |
st.markdown("**Rate limit:** ~0.15s per author")
|
| 242 |
|
| 243 |
# Main content
|
| 244 |
-
uploaded_file = st.file_uploader(
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 245 |
|
| 246 |
if uploaded_file is not None:
|
| 247 |
try:
|
|
|
|
| 241 |
st.markdown("**Rate limit:** ~0.15s per author")
|
| 242 |
|
| 243 |
# Main content
|
| 244 |
+
uploaded_file = st.file_uploader(
|
| 245 |
+
"Upload CSV file",
|
| 246 |
+
type=['csv'],
|
| 247 |
+
help="Upload a CSV with 'Name' and optional 'Institution_Hint' columns",
|
| 248 |
+
key="csv_uploader" # Add unique key
|
| 249 |
+
)
|
| 250 |
|
| 251 |
if uploaded_file is not None:
|
| 252 |
try:
|