Spaces:
Sleeping
Sleeping
fixed annotations display bug
Browse files
app.py
CHANGED
@@ -430,7 +430,7 @@ if option == "OpenReview paper ID":
|
|
430 |
elif option == "Upload PDF with Review":
|
431 |
user_text = st.text_area("Enter review:")
|
432 |
uploaded_file = st.file_uploader("Upload PDF", type="pdf")
|
433 |
-
model = st.text_input("Which model? ('
|
434 |
iterations = st.text_input("How many iterations to run agent for?")
|
435 |
if user_text and uploaded_file and model and iterations:
|
436 |
upload_file = True
|
@@ -460,7 +460,7 @@ if user_input:
|
|
460 |
|
461 |
st.title(f'Review feedback')
|
462 |
|
463 |
-
if annotations['submission_id'].str.contains(str(paper_id)).any():
|
464 |
st.write(f'We have a human annotation for {paper_id}')
|
465 |
# Create four columns
|
466 |
col1, col2, col3, col4 = st.columns(4)
|
|
|
430 |
elif option == "Upload PDF with Review":
|
431 |
user_text = st.text_area("Enter review:")
|
432 |
uploaded_file = st.file_uploader("Upload PDF", type="pdf")
|
433 |
+
model = st.text_input("Which model? ('gpt' or 'claude')")
|
434 |
iterations = st.text_input("How many iterations to run agent for?")
|
435 |
if user_text and uploaded_file and model and iterations:
|
436 |
upload_file = True
|
|
|
460 |
|
461 |
st.title(f'Review feedback')
|
462 |
|
463 |
+
if not upload_file and annotations['submission_id'].str.contains(str(paper_id)).any():
|
464 |
st.write(f'We have a human annotation for {paper_id}')
|
465 |
# Create four columns
|
466 |
col1, col2, col3, col4 = st.columns(4)
|