jung-ming commited on
Commit
fe8d471
·
verified ·
1 Parent(s): 717f27e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -11
app.py CHANGED
@@ -1,14 +1,3 @@
1
- # 建立 .streamlit/config.toml 避免 Hugging Face 權限錯誤
2
- import os
3
- os.makedirs(".streamlit", exist_ok=True)
4
- with open(".streamlit/config.toml", "w") as f:
5
- f.write("""
6
- [server]
7
- headless = true
8
- port = 7860
9
- enableCORS = true
10
- """)
11
-
12
  import streamlit as st
13
  import joblib
14
  import pandas as pd
 
 
 
 
 
 
 
 
 
 
 
 
1
  import streamlit as st
2
  import joblib
3
  import pandas as pd