Update app.py
Browse files
app.py
CHANGED
|
@@ -794,7 +794,7 @@ authenticator = stauth.Authenticate(
|
|
| 794 |
# credentials=credentials, cookie_name="joeshi_gpt", key='abcedefg', cookie_expiry_days=30)
|
| 795 |
|
| 796 |
user, authentication_status, username = authenticator.login('用户登录', 'main')
|
| 797 |
-
print("username", username)
|
| 798 |
|
| 799 |
# ## sign-up widget,未完成。
|
| 800 |
# try:
|
|
@@ -823,7 +823,7 @@ if authentication_status:
|
|
| 823 |
st.header(f'**欢迎 **{username}** 来到人工智能的世界** ♠')
|
| 824 |
st.write(f'_Welcome and Hope U Enjoy Staying Here_')
|
| 825 |
authenticator.logout('登出', 'sidebar')
|
| 826 |
-
|
| 827 |
|
| 828 |
# reset_button_key = "reset_button"
|
| 829 |
# reset_button = st.button(label=("清除所有记录,并开启一轮新对话 ▶"),
|
|
|
|
| 794 |
# credentials=credentials, cookie_name="joeshi_gpt", key='abcedefg', cookie_expiry_days=30)
|
| 795 |
|
| 796 |
user, authentication_status, username = authenticator.login('用户登录', 'main')
|
| 797 |
+
#print("username", username)
|
| 798 |
|
| 799 |
# ## sign-up widget,未完成。
|
| 800 |
# try:
|
|
|
|
| 823 |
st.header(f'**欢迎 **{username}** 来到人工智能的世界** ♠')
|
| 824 |
st.write(f'_Welcome and Hope U Enjoy Staying Here_')
|
| 825 |
authenticator.logout('登出', 'sidebar')
|
| 826 |
+
print(username)
|
| 827 |
|
| 828 |
# reset_button_key = "reset_button"
|
| 829 |
# reset_button = st.button(label=("清除所有记录,并开启一轮新对话 ▶"),
|