ss900371tw commited on
Commit
3ca91b5
Ā·
verified Ā·
1 Parent(s): d844721

Update src/streamlit_app.py

Browse files
Files changed (1) hide show
  1. src/streamlit_app.py +1 -1
src/streamlit_app.py CHANGED
@@ -597,7 +597,7 @@ if st.session_state.execute_batch_analysis and 'json_data_for_batch' in st.sessi
597
  "context": retrieved_ctx
598
  }
599
  csv_string = pd.json_normalize(item)
600
-
601
  with results_container:
602
 
603
  # å‘ˆē¾ LLM åˆ†ęžēµęžœ
 
597
  "context": retrieved_ctx
598
  }
599
  csv_string = pd.json_normalize(item)
600
+ csv_string = csv_string.to_csv(header=True, index=False, encoding='utf-8')
601
  with results_container:
602
 
603
  # å‘ˆē¾ LLM åˆ†ęžēµęžœ