nityathakkar commited on
Commit
acfe5db
·
verified ·
1 Parent(s): ec80e3f

fixed annotation display

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -442,9 +442,8 @@ if user_input:
442
  revised_feedback = critic(review, feedback, pdf_text, critic_prompt, model)
443
 
444
  st.title(f'Review feedback')
445
- st.write(paper_id)
446
- st.write(annotations['submission_id'])
447
- if paper_id in annotations['submission_id']:
448
  st.write(f'We have a human annotation for {paper_id}')
449
  # Create four columns
450
  col1, col2, col3, col4 = st.columns(4)
 
442
  revised_feedback = critic(review, feedback, pdf_text, critic_prompt, model)
443
 
444
  st.title(f'Review feedback')
445
+
446
+ if annotations['submission_id'].str.contains(paper_id).any():
 
447
  st.write(f'We have a human annotation for {paper_id}')
448
  # Create four columns
449
  col1, col2, col3, col4 = st.columns(4)