Spaces:
Sleeping
Sleeping
✨ feat: CLI実行ファイルと出力画像の.gitignoreに追加
Browse files- 生成された出力画像 `output_image.png` を`.gitignore`に追加しました。これにより、不要なファイルがリポジトリにコミットされるのを防ぎます。
- .gitignore +1 -0
- pic_to_header/pages/README.py +0 -16
- pic_to_header/pages/ReleaseNotes.py +0 -26
.gitignore
CHANGED
@@ -160,3 +160,4 @@ cython_debug/
|
|
160 |
# and can be added to the global gitignore or merged into this file. For a more nuclear
|
161 |
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
|
162 |
#.idea/
|
|
|
|
160 |
# and can be added to the global gitignore or merged into this file. For a more nuclear
|
161 |
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
|
162 |
#.idea/
|
163 |
+
output_image.png
|
pic_to_header/pages/README.py
DELETED
@@ -1,16 +0,0 @@
|
|
1 |
-
import streamlit as st
|
2 |
-
import os
|
3 |
-
|
4 |
-
# ページ設定
|
5 |
-
st.set_page_config(
|
6 |
-
page_title="Pic-to-Header",
|
7 |
-
page_icon="🖼️",
|
8 |
-
layout="wide"
|
9 |
-
)
|
10 |
-
|
11 |
-
try:
|
12 |
-
with open("README.md", "r", encoding="utf-8") as f:
|
13 |
-
readme_content = f.read()
|
14 |
-
st.markdown(readme_content, unsafe_allow_html=True)
|
15 |
-
except FileNotFoundError:
|
16 |
-
st.error("README.mdが見つかりませんでした。")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
pic_to_header/pages/ReleaseNotes.py
DELETED
@@ -1,26 +0,0 @@
|
|
1 |
-
import streamlit as st
|
2 |
-
import os
|
3 |
-
import glob
|
4 |
-
|
5 |
-
# ページ設定
|
6 |
-
st.set_page_config(
|
7 |
-
page_title="Pic-to-Header",
|
8 |
-
page_icon="🖼️",
|
9 |
-
layout="wide"
|
10 |
-
)
|
11 |
-
|
12 |
-
# リリースノートの表示
|
13 |
-
st.title("📝 リリースノート")
|
14 |
-
release_notes_files = glob.glob("docs/*.md")
|
15 |
-
if release_notes_files:
|
16 |
-
for file_path in release_notes_files:
|
17 |
-
try:
|
18 |
-
with open(file_path, "r", encoding="utf-8") as f:
|
19 |
-
release_content = f.read()
|
20 |
-
st.markdown(f"### {os.path.basename(file_path)}")
|
21 |
-
st.markdown(release_content, unsafe_allow_html=True)
|
22 |
-
st.markdown("---")
|
23 |
-
except Exception as e:
|
24 |
-
st.error(f"{file_path}の読み込み中にエラーが発生しました: {e}")
|
25 |
-
else:
|
26 |
-
st.error("リリースノートのMarkdownファイルが見つかりませんでした。")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|