Update app.py
Browse files
app.py
CHANGED
@@ -115,20 +115,20 @@ def main():
|
|
115 |
|
116 |
st.session_state['graph'] = graph
|
117 |
|
118 |
-
if st.session_state['graph'] is not None:
|
119 |
-
st.divider()
|
120 |
-
st.write("Does this prediction look correct?")
|
121 |
-
collector.st_feedback(
|
122 |
-
|
123 |
-
|
124 |
-
|
125 |
-
|
126 |
-
|
127 |
-
|
128 |
-
|
129 |
-
|
130 |
-
|
131 |
-
)
|
132 |
|
133 |
# st.session_state['text'] = ''
|
134 |
# st.session_state['graph'] = None
|
|
|
115 |
|
116 |
st.session_state['graph'] = graph
|
117 |
|
118 |
+
# if st.session_state['graph'] is not None:
|
119 |
+
# st.divider()
|
120 |
+
# st.write("Does this prediction look correct?")
|
121 |
+
# collector.st_feedback(
|
122 |
+
# component="default",
|
123 |
+
# feedback_type="thumbs",
|
124 |
+
# model="v1-test",
|
125 |
+
# align="flex-start",
|
126 |
+
# metadata={
|
127 |
+
# "sentence": txt
|
128 |
+
# },
|
129 |
+
# open_feedback_label="[Optional] Provide additional feedback",
|
130 |
+
# # single_submit=False
|
131 |
+
# )
|
132 |
|
133 |
# st.session_state['text'] = ''
|
134 |
# st.session_state['graph'] = None
|