DavidWill commited on
Commit
edaac00
·
verified ·
1 Parent(s): 2d33ec1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -14,7 +14,7 @@ def load_model():
14
  return model
15
 
16
  def main():
17
- st.title("文件摘要工具")
18
  st.markdown("上傳文本檔案,生成繁中重點摘要")
19
 
20
  # 讀取 API_KEY 從 Environment Variables
@@ -26,7 +26,7 @@ def main():
26
  # 讓用戶上傳文件
27
  uploaded_file = st.file_uploader("上傳 txt 文件", type=["txt"])
28
  if not uploaded_file:
29
- st.info("請選擇文件inheritdoc...")
30
  return
31
 
32
  # 讀取文件內容
 
14
  return model
15
 
16
  def main():
17
+ st.title("智慧文件摘要")
18
  st.markdown("上傳文本檔案,生成繁中重點摘要")
19
 
20
  # 讀取 API_KEY 從 Environment Variables
 
26
  # 讓用戶上傳文件
27
  uploaded_file = st.file_uploader("上傳 txt 文件", type=["txt"])
28
  if not uploaded_file:
29
+ st.info("請選擇文件...")
30
  return
31
 
32
  # 讀取文件內容