Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -68,7 +68,6 @@ if "initial_settings" not in st.session_state:
|
|
68 |
st.session_state["initial_settings"] = True
|
69 |
|
70 |
with st.sidebar:
|
71 |
-
# 此处href与下文的st.header内容相对应,跳转锚点
|
72 |
st.markdown("# 🤖 聊天窗口")
|
73 |
current_chat = st.radio(
|
74 |
label='历史聊天窗口',
|
@@ -112,7 +111,10 @@ with st.sidebar:
|
|
112 |
|
113 |
st.write("\n")
|
114 |
st.write("\n")
|
|
|
115 |
st.markdown("<a href='#chatgpt-assistant' id='chat-window'>➡️ 直达输入区</a>",unsafe_allow_html=True)
|
|
|
|
|
116 |
|
117 |
# 加载数据
|
118 |
if ("history" + current_chat not in st.session_state) or (st.session_state['if_chat_change']):
|
|
|
68 |
st.session_state["initial_settings"] = True
|
69 |
|
70 |
with st.sidebar:
|
|
|
71 |
st.markdown("# 🤖 聊天窗口")
|
72 |
current_chat = st.radio(
|
73 |
label='历史聊天窗口',
|
|
|
111 |
|
112 |
st.write("\n")
|
113 |
st.write("\n")
|
114 |
+
# 此处href与下文的st.header内容相对应,跳转锚点
|
115 |
st.markdown("<a href='#chatgpt-assistant' id='chat-window'>➡️ 直达输入区</a>",unsafe_allow_html=True)
|
116 |
+
st.markdwon(<a href="https://huggingface.co/spaces/Pearx/ChatGPT-Assistant?duplicate=true">
|
117 |
+
<img src="https://bit.ly/3gLdBN6" alt="Duplicate Space"></a>,unsafe_allow_html=True)
|
118 |
|
119 |
# 加载数据
|
120 |
if ("history" + current_chat not in st.session_state) or (st.session_state['if_chat_change']):
|