ss900371tw commited on
Commit
0816c32
·
verified ·
1 Parent(s): 30c22bb

Update src/streamlit_app.py

Browse files
Files changed (1) hide show
  1. src/streamlit_app.py +2 -2
src/streamlit_app.py CHANGED
@@ -455,8 +455,8 @@ if rag_uploaded_file:
455
  elif 'vector_store' in st.session_state:
456
  del st.session_state.vector_store
457
  del st.session_state.rag_current_file_key
458
- st.info("RAG 檔案已移除,已清除相關知識庫。")
459
-
460
  # === 檔案處理區塊 (批量分析檔案 - **已更新** ) ===
461
  if batch_uploaded_file:
462
  batch_file_key = f"batch_{batch_uploaded_file.name}_{batch_uploaded_file.size}"
 
455
  elif 'vector_store' in st.session_state:
456
  del st.session_state.vector_store
457
  del st.session_state.rag_current_file_key
458
+ st.info("目前沒有 RAG 檔案,你可以上傳 RAG 作為參考知識庫。")
459
+
460
  # === 檔案處理區塊 (批量分析檔案 - **已更新** ) ===
461
  if batch_uploaded_file:
462
  batch_file_key = f"batch_{batch_uploaded_file.name}_{batch_uploaded_file.size}"