Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -12,7 +12,7 @@ from transformers import GPT2LMHeadModel, GPT2Tokenizer
|
|
| 12 |
import torch
|
| 13 |
|
| 14 |
# Configure Streamlit page settings
|
| 15 |
-
icon='
|
| 16 |
st.set_page_config(page_title='GUVI - GPT', page_icon=icon, layout = 'wide')
|
| 17 |
|
| 18 |
# Connect to TiDB Cloud database
|
|
@@ -131,7 +131,7 @@ def login():
|
|
| 131 |
st.error("Incorrect username or password. If you don't have an account, please sign up.")
|
| 132 |
|
| 133 |
with col2:
|
| 134 |
-
st.image('
|
| 135 |
|
| 136 |
# Display sign-up and reset password button
|
| 137 |
if not st.session_state.login_successful:
|
|
@@ -294,7 +294,7 @@ def home_page():
|
|
| 294 |
|
| 295 |
st.markdown('<br>',unsafe_allow_html=True)
|
| 296 |
|
| 297 |
-
st.image('
|
| 298 |
|
| 299 |
if st.button("Logout"):
|
| 300 |
st.session_state.clear()
|
|
@@ -322,7 +322,7 @@ def home_page():
|
|
| 322 |
st.session_state.messages.append({"role": "assistant", "content": response})
|
| 323 |
|
| 324 |
with col2:
|
| 325 |
-
st.image('
|
| 326 |
|
| 327 |
|
| 328 |
|
|
|
|
| 12 |
import torch
|
| 13 |
|
| 14 |
# Configure Streamlit page settings
|
| 15 |
+
icon='chatbot.png'
|
| 16 |
st.set_page_config(page_title='GUVI - GPT', page_icon=icon, layout = 'wide')
|
| 17 |
|
| 18 |
# Connect to TiDB Cloud database
|
|
|
|
| 131 |
st.error("Incorrect username or password. If you don't have an account, please sign up.")
|
| 132 |
|
| 133 |
with col2:
|
| 134 |
+
st.image('login.png', width = 320)
|
| 135 |
|
| 136 |
# Display sign-up and reset password button
|
| 137 |
if not st.session_state.login_successful:
|
|
|
|
| 294 |
|
| 295 |
st.markdown('<br>',unsafe_allow_html=True)
|
| 296 |
|
| 297 |
+
st.image('Guvi.jpeg', width = 200)
|
| 298 |
|
| 299 |
if st.button("Logout"):
|
| 300 |
st.session_state.clear()
|
|
|
|
| 322 |
st.session_state.messages.append({"role": "assistant", "content": response})
|
| 323 |
|
| 324 |
with col2:
|
| 325 |
+
st.image('chatbot.png', width = 500)
|
| 326 |
|
| 327 |
|
| 328 |
|