junjiro1129 commited on
Commit
094d1c6
·
verified ·
1 Parent(s): 1d76dcc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -0
app.py CHANGED
@@ -59,6 +59,15 @@ templates_file = st.file_uploader("Upload templates.json", type=["json"])
59
  # 例: サイドバーにヘッダー付きで置く
60
  st.sidebar.header("Utilities")
61
 
 
 
 
 
 
 
 
 
 
62
  # 1) Space のリポ ID は環境変数 HF_SPACE_ID に入っています
63
  repo_id = os.getenv("HF_SPACE_ID", "junjiro1129/mockjet_web")
64
 
 
59
  # 例: サイドバーにヘッダー付きで置く
60
  st.sidebar.header("Utilities")
61
 
62
+ # Download demokit.zip
63
+ with open("demokit.zip", "rb") as file:
64
+ st.sidebar.download_button(
65
+ label="⬇️ Let's try it! Download Sample demokit (ZIP)",
66
+ data=file,
67
+ file_name="demokit.zip",
68
+ mime="application/zip"
69
+
70
+
71
  # 1) Space のリポ ID は環境変数 HF_SPACE_ID に入っています
72
  repo_id = os.getenv("HF_SPACE_ID", "junjiro1129/mockjet_web")
73