runtime error
Exit code: 1. Reason: Note: Environment variable`HF_TOKEN` is set and is the current active token independently from the token you've just configured. /usr/local/lib/python3.13/site-packages/sklearn/base.py:463: InconsistentVersionWarning: Trying to unpickle estimator LabelEncoder from version 1.6.1 when using version 1.8.0. This might lead to breaking code or invalid results. Use at your own risk. For more info please refer to: https://scikit-learn.org/stable/model_persistence.html#security-maintainability-limitations warnings.warn( baseline_logs.csv: 0%| | 0.00/64.8k [00:00<?, ?B/s][A baseline_logs.csv: 100%|██████████| 64.8k/64.8k [00:00<00:00, 28.7MB/s] ⚠️ AI 模組載入失敗,請確認 .pkl 與 .csv 檔案是否已上傳。錯誤: y contains previously unseen labels: '114.32.1.45' /app/app.py:151: UserWarning: The parameters have been moved from the Blocks constructor to the launch() method in Gradio 6.0: css. Please pass these parameters to launch() instead. with gr.Blocks(title="模擬校園入口與資安防護系統", css=custom_css) as demo: * Running on local URL: http://0.0.0.0:7860, with SSR ⚡ (experimental, to disable set `ssr_mode=False` in `launch()`) Traceback (most recent call last): File "/app/app.py", line 201, in <module> demo.launch(allowed_paths=["*"]) ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.13/site-packages/gradio/blocks.py", line 2814, in launch raise ValueError( "When localhost is not accessible, a shareable link must be created. Please set share=True or check your proxy settings to allow access to localhost." ) ValueError: When localhost is not accessible, a shareable link must be created. Please set share=True or check your proxy settings to allow access to localhost.
Container logs:
Fetching error logs...