Update src/streamlit_app.py
Browse files- src/streamlit_app.py +6 -6
src/streamlit_app.py
CHANGED
|
@@ -91,7 +91,7 @@ if "example_prompt" not in st.session_state:
|
|
| 91 |
|
| 92 |
# 3. 側邊欄設計
|
| 93 |
with st.sidebar:
|
| 94 |
-
st.markdown(f'<a href="{HOME_URL}" target="_blank"><img src="{LOGO_URL}"
|
| 95 |
st.title("⚙️ 知識庫狀態")
|
| 96 |
for category, info in KNOWLEDGE_MAP.items():
|
| 97 |
with st.expander(category):
|
|
@@ -103,15 +103,15 @@ with st.sidebar:
|
|
| 103 |
st.success("資料已重新抓取!")
|
| 104 |
|
| 105 |
# 4. 主介面與範例問句
|
| 106 |
-
st.title("📚
|
| 107 |
-
st.caption("知識庫涵蓋 LLM、NLP、Speech、CV。歡迎直接提問!")
|
| 108 |
|
| 109 |
# 顯示範例問句按鈕
|
| 110 |
example_cols = st.columns(3)
|
| 111 |
examples = [
|
| 112 |
-
"🤖 總結 LLM 的最新趨勢",
|
| 113 |
-
"🗣️ 語音處理有哪些新技術?",
|
| 114 |
-
"👁️ CV 領域
|
| 115 |
]
|
| 116 |
|
| 117 |
for col, ex in zip(example_cols, examples):
|
|
|
|
| 91 |
|
| 92 |
# 3. 側邊欄設計
|
| 93 |
with st.sidebar:
|
| 94 |
+
st.markdown(f'<a href="{HOME_URL}" target="_blank"><img src="{LOGO_URL}" height="85%"></a>', unsafe_allow_html=True)
|
| 95 |
st.title("⚙️ 知識庫狀態")
|
| 96 |
for category, info in KNOWLEDGE_MAP.items():
|
| 97 |
with st.expander(category):
|
|
|
|
| 103 |
st.success("資料已重新抓取!")
|
| 104 |
|
| 105 |
# 4. 主介面與範例問句
|
| 106 |
+
st.title("📚 Deep Learning 101 小助手")
|
| 107 |
+
st.caption("知識庫涵蓋 Deep Learning 101 github repo/pages 上 LLM、NLP、Speech、CV 的新資訊。歡迎直接提問!歡迎自行 fork,避免超過免費API額度")
|
| 108 |
|
| 109 |
# 顯示範例問句按鈕
|
| 110 |
example_cols = st.columns(3)
|
| 111 |
examples = [
|
| 112 |
+
"🤖 總結 LLM 的最近一個月內的新趨勢",
|
| 113 |
+
"🗣️ 語音處理近三個月內有哪些新技術?",
|
| 114 |
+
"👁️ CV 領域最新的懶人包重點"
|
| 115 |
]
|
| 116 |
|
| 117 |
for col, ex in zip(example_cols, examples):
|