Spaces:
Sleeping
Sleeping
fixed annotation display
Browse files
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 |
-
|
| 446 |
-
|
| 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)
|