Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Update app.py
Browse files
app.py
CHANGED
@@ -165,7 +165,6 @@ if st.session_state.get("run_id"):
|
|
165 |
run_id = st.session_state.run_id
|
166 |
feedback = streamlit_feedback(
|
167 |
feedback_type=feedback_option,
|
168 |
-
optional_text_label="[Optional] Please provide an explanation",
|
169 |
key=f"feedback_{run_id}",
|
170 |
)
|
171 |
score_mappings = {
|
@@ -190,7 +189,6 @@ if st.session_state.get("run_id"):
|
|
190 |
run_id,
|
191 |
feedback_type_str,
|
192 |
score=score,
|
193 |
-
comment=feedback.get("text"),
|
194 |
)
|
195 |
st.session_state.feedback = {
|
196 |
"feedback_id": str(feedback_record.id),
|
|
|
165 |
run_id = st.session_state.run_id
|
166 |
feedback = streamlit_feedback(
|
167 |
feedback_type=feedback_option,
|
|
|
168 |
key=f"feedback_{run_id}",
|
169 |
)
|
170 |
score_mappings = {
|
|
|
189 |
run_id,
|
190 |
feedback_type_str,
|
191 |
score=score,
|
|
|
192 |
)
|
193 |
st.session_state.feedback = {
|
194 |
"feedback_id": str(feedback_record.id),
|