Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -4,6 +4,7 @@ import os
|
|
4 |
|
5 |
import streamlit as st
|
6 |
from streamlit_pills import pills
|
|
|
7 |
|
8 |
from PIL import Image
|
9 |
|
@@ -83,8 +84,7 @@ def launch_bot():
|
|
83 |
st.write(message["content"])
|
84 |
|
85 |
if (message["role"] == "assistant") & (not st.session_state.first_turn):
|
86 |
-
|
87 |
-
print("DEBUG: Thumbs up pressed")
|
88 |
|
89 |
example_container = st.empty()
|
90 |
with example_container:
|
|
|
4 |
|
5 |
import streamlit as st
|
6 |
from streamlit_pills import pills
|
7 |
+
from streamlit_feedback import streamlit_feedback
|
8 |
|
9 |
from PIL import Image
|
10 |
|
|
|
84 |
st.write(message["content"])
|
85 |
|
86 |
if (message["role"] == "assistant") & (not st.session_state.first_turn):
|
87 |
+
streamlit_feedback(feedback_type="thumbs")
|
|
|
88 |
|
89 |
example_container = st.empty()
|
90 |
with example_container:
|