Spaces:
Sleeping
Sleeping
Update src/streamlit_app.py
Browse files- src/streamlit_app.py +2 -2
src/streamlit_app.py
CHANGED
|
@@ -456,7 +456,7 @@ if rag_uploaded_file:
|
|
| 456 |
elif 'vector_store' in st.session_state:
|
| 457 |
del st.session_state.vector_store
|
| 458 |
del st.session_state.rag_current_file_key
|
| 459 |
-
st.info("RAG 檔案
|
| 460 |
|
| 461 |
# === 檔案處理區塊 (批量分析檔案 - **已更新** ) ===
|
| 462 |
if batch_uploaded_file:
|
|
@@ -492,7 +492,7 @@ elif 'json_data_for_batch' in st.session_state:
|
|
| 492 |
# 確保 batch_results 被清除,避免 'NoneType' 錯誤
|
| 493 |
if "batch_results" in st.session_state:
|
| 494 |
del st.session_state.batch_results
|
| 495 |
-
st.info("批量分析檔案
|
| 496 |
|
| 497 |
# === 執行批量分析邏輯 (已修改為 IP 關聯視窗) ===
|
| 498 |
if st.session_state.execute_batch_analysis and 'json_data_for_batch' in st.session_state and st.session_state.json_data_for_batch is not None:
|
|
|
|
| 456 |
elif 'vector_store' in st.session_state:
|
| 457 |
del st.session_state.vector_store
|
| 458 |
del st.session_state.rag_current_file_key
|
| 459 |
+
st.info("目前沒有 RAG 檔案,你可以上傳相關知識庫供大語言模型分析。")
|
| 460 |
|
| 461 |
# === 檔案處理區塊 (批量分析檔案 - **已更新** ) ===
|
| 462 |
if batch_uploaded_file:
|
|
|
|
| 492 |
# 確保 batch_results 被清除,避免 'NoneType' 錯誤
|
| 493 |
if "batch_results" in st.session_state:
|
| 494 |
del st.session_state.batch_results
|
| 495 |
+
st.info("目前沒有批量分析檔案,請上傳日誌檔案以分析結果。")
|
| 496 |
|
| 497 |
# === 執行批量分析邏輯 (已修改為 IP 關聯視窗) ===
|
| 498 |
if st.session_state.execute_batch_analysis and 'json_data_for_batch' in st.session_state and st.session_state.json_data_for_batch is not None:
|