Pearx commited on
Commit
5979c48
1 Parent(s): 5600923

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -0
app.py CHANGED
@@ -126,6 +126,10 @@ if "history" + current_chat not in st.session_state:
126
  for k, v in value.items():
127
  st.session_state[k + current_chat + "value"] = v
128
 
 
 
 
 
129
  # 对话展示
130
  show_messages(st.session_state["history" + current_chat])
131
 
 
126
  for k, v in value.items():
127
  st.session_state[k + current_chat + "value"] = v
128
 
129
+ # 一键复制按钮
130
+ st.markdown('<center><a href="https://huggingface.co/spaces/Pearx/ChatGPT-Assistant?duplicate=true">'
131
+ '<img src="https://bit.ly/3gLdBN6" alt="Duplicate Space"></a><center>', unsafe_allow_html=True)
132
+
133
  # 对话展示
134
  show_messages(st.session_state["history" + current_chat])
135