HHansi commited on
Commit
b107783
1 Parent(s): 2fa6fb5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +14 -14
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
- 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
 
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