Skip to content

Commit

Permalink
Don't show results message if there are no results
Browse files Browse the repository at this point in the history
  • Loading branch information
teddygroves committed Dec 2, 2024
1 parent f3fdf7f commit fdacb3e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,6 @@
f.write(uploaded_file.getvalue())
results = get_dois(path, format)

st.write("Here are the dois in your document. Please check if they are correct!")
for result in results:
st.write(f"[{result}](https://doi.org/{result})")
st.write("Here are the dois in your document. Please check if they are correct!")
for result in results:
st.write(f"[{result}](https://doi.org/{result})")

0 comments on commit fdacb3e

Please sign in to comment.