Spaces:
Sleeping
Sleeping
Update src/streamlit_app.py
Browse files- src/streamlit_app.py +1 -1
src/streamlit_app.py
CHANGED
|
@@ -50,7 +50,7 @@ MODEL_OPTIONS = {
|
|
| 50 |
"Meta Llama 3.3 70B Instruct (Hugging Face)": "meta-llama/Llama-3.3-70B-Instruct",
|
| 51 |
"fdtn-ai Foundation-Sec 8B Instruct (Hugging Face)": "fdtn-ai/Foundation-Sec-8B-Instruct",
|
| 52 |
"Gemma 3 27B Instruct (Hugging Face)": "google/gemma-3-27b-it"}
|
| 53 |
-
WINDOW_SIZE =
|
| 54 |
# === W3C Log 專屬解析器 (新增) ===
|
| 55 |
def parse_w3c_log(log_content: str) -> List[Dict[str, Any]]:
|
| 56 |
"""
|
|
|
|
| 50 |
"Meta Llama 3.3 70B Instruct (Hugging Face)": "meta-llama/Llama-3.3-70B-Instruct",
|
| 51 |
"fdtn-ai Foundation-Sec 8B Instruct (Hugging Face)": "fdtn-ai/Foundation-Sec-8B-Instruct",
|
| 52 |
"Gemma 3 27B Instruct (Hugging Face)": "google/gemma-3-27b-it"}
|
| 53 |
+
WINDOW_SIZE = 20 # 關聯 Log 的最大數量 (包含當前 Log)
|
| 54 |
# === W3C Log 專屬解析器 (新增) ===
|
| 55 |
def parse_w3c_log(log_content: str) -> List[Dict[str, Any]]:
|
| 56 |
"""
|