Spaces:
Sleeping
Sleeping
Update src/streamlit_app.py
Browse files- src/streamlit_app.py +1 -1
src/streamlit_app.py
CHANGED
|
@@ -595,7 +595,7 @@ if st.session_state.execute_batch_analysis and 'json_data_for_batch' in st.sessi
|
|
| 595 |
"analysis_result": response,
|
| 596 |
"context": retrieved_ctx
|
| 597 |
}
|
| 598 |
-
fieldnames = list(item[0].keys()) if
|
| 599 |
output_string_buffer = io.StringIO()
|
| 600 |
writer = csv.DictWriter(
|
| 601 |
output_string_buffer,
|
|
|
|
| 595 |
"analysis_result": response,
|
| 596 |
"context": retrieved_ctx
|
| 597 |
}
|
| 598 |
+
fieldnames = list(item[0].keys()) if item else []
|
| 599 |
output_string_buffer = io.StringIO()
|
| 600 |
writer = csv.DictWriter(
|
| 601 |
output_string_buffer,
|