Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -56,6 +56,16 @@ design_files = st.file_uploader("Upload design files", type=["png", "jpg", "jpeg
|
|
| 56 |
st.header("Upload templates.json (coordinates of print area)")
|
| 57 |
templates_file = st.file_uploader("Upload templates.json", type=["json"])
|
| 58 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 59 |
# --- ファイル保存
|
| 60 |
bases_paths, designs_paths = [], []
|
| 61 |
if bases_files:
|
|
|
|
| 56 |
st.header("Upload templates.json (coordinates of print area)")
|
| 57 |
templates_file = st.file_uploader("Upload templates.json", type=["json"])
|
| 58 |
|
| 59 |
+
# 例: サイドバーにヘッダー付きで置く
|
| 60 |
+
st.sidebar.header("Utilities")
|
| 61 |
+
st.sidebar.markdown(
|
| 62 |
+
'<a href="./+/coordinatemaker.html" target="_blank">'
|
| 63 |
+
'Open Coordinate Maker ↗</a>',
|
| 64 |
+
unsafe_allow_html=True
|
| 65 |
+
)
|
| 66 |
+
|
| 67 |
+
|
| 68 |
+
|
| 69 |
# --- ファイル保存
|
| 70 |
bases_paths, designs_paths = [], []
|
| 71 |
if bases_files:
|