mestreamlit / pages /993_streamlit_text_rating.py
yuanjie
update
a18878f
raw
history blame
No virus
260 Bytes
from streamlit_text_rating.st_text_rater import st_text_rater
import streamlit as st
st.title("Awesome App")
for text in ["Is this text helpful?", "Do you like this text?"]:
response = st_text_rater(text=text)
st.write(f"response --> {response}")