Spaces:
Sleeping
Sleeping
karar-shah
commited on
Commit
·
cf5e491
1
Parent(s):
7dae9d7
Update app.py
Browse files
app.py
CHANGED
@@ -65,7 +65,7 @@ if "messages" not in st.session_state:
|
|
65 |
# emotion_category = emotion_categories.get(int(true_classes))
|
66 |
# st.markdown(emotion_category)
|
67 |
|
68 |
-
|
69 |
if prompt := st.chat_input("What is up?"):
|
70 |
st.session_state.messages.append({"role": "user", "content": prompt})
|
71 |
# USER
|
@@ -98,11 +98,3 @@ if prompt := st.chat_input("What is up?"):
|
|
98 |
message_placeholder.markdown(full_response)
|
99 |
st.session_state.messages.append(
|
100 |
{"role": "assistant", "content": full_response})
|
101 |
-
|
102 |
-
|
103 |
-
uploaded_files = st.file_uploader(
|
104 |
-
"Choose a CSV file", accept_multiple_files=True)
|
105 |
-
for uploaded_file in uploaded_files:
|
106 |
-
bytes_data = uploaded_file.read()
|
107 |
-
st.write("filename:", uploaded_file.name)
|
108 |
-
st.write(bytes_data)
|
|
|
65 |
# emotion_category = emotion_categories.get(int(true_classes))
|
66 |
# st.markdown(emotion_category)
|
67 |
|
68 |
+
st.markdown('Chat Bot')
|
69 |
if prompt := st.chat_input("What is up?"):
|
70 |
st.session_state.messages.append({"role": "user", "content": prompt})
|
71 |
# USER
|
|
|
98 |
message_placeholder.markdown(full_response)
|
99 |
st.session_state.messages.append(
|
100 |
{"role": "assistant", "content": full_response})
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|