eagle0504 commited on
Commit
cccdc5b
Β·
verified Β·
1 Parent(s): 47d336d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -41,7 +41,7 @@ else:
41
  st.sidebar.error("❌ Invalid username or password. Please try again.")
42
 
43
  # Main title area
44
- st.title("πŸš€ AIXNet 🌐")
45
 
46
  # Display table only if logged in
47
  if st.session_state.logged_in:
@@ -89,7 +89,7 @@ if st.session_state.logged_in:
89
  st.markdown(message["content"])
90
 
91
  # React to user input
92
- if prompt := st.chat_input("πŸ˜‰ What GPU shall I use?"):
93
 
94
  # Display user message in chat message container
95
  st.chat_message("user").markdown(prompt)
@@ -97,6 +97,8 @@ if st.session_state.logged_in:
97
  # Add user message to chat history
98
  st.session_state.messages.append({"role": "system", "content": f"""
99
  You are a helpful assistant assiting users on GPU selections.
 
 
100
  Here's the data:
101
  {df.to_markdown(index=False)}
102
 
 
41
  st.sidebar.error("❌ Invalid username or password. Please try again.")
42
 
43
  # Main title area
44
+ st.title("πŸš€ AIXNet 🌐: Talk to Chad! He can help!")
45
 
46
  # Display table only if logged in
47
  if st.session_state.logged_in:
 
89
  st.markdown(message["content"])
90
 
91
  # React to user input
92
+ if prompt := st.chat_input("πŸ˜‰ Hi, Chad, what GPU shall I use?"):
93
 
94
  # Display user message in chat message container
95
  st.chat_message("user").markdown(prompt)
 
97
  # Add user message to chat history
98
  st.session_state.messages.append({"role": "system", "content": f"""
99
  You are a helpful assistant assiting users on GPU selections.
100
+ Your name is Chad.
101
+
102
  Here's the data:
103
  {df.to_markdown(index=False)}
104