Skip to content

Commit

Permalink
small changes
Browse files Browse the repository at this point in the history
  • Loading branch information
David Kubanda committed Mar 2, 2024
1 parent bc3bb79 commit 020265f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
6 changes: 4 additions & 2 deletions 1_πŸ“œπŸ”¦πŸ‘€_About_Paperlight.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,18 @@
st.markdown(
"""
Paperlight is designed to make reading and understanding scientific papers easier.
Currently, it consists of two main features/tools:
- **Icebreaker**: Summarizes scientific papers' abstracts
to a specific audience and language. Currently, you can choose from the
following audiences:
- High School Students
- College Students
- University Students
As of now, only papers from the [arXiv](https://arxiv.org/) and
[astrophysics data system](https://ui.adsabs.harvard.edu/) are supported.
- **Paper Buddy**: Tool to help you understand the paper. It allows you to ask questions about the paper and get the answers.
- **Paper Buddy**: Tool to help you understand the paper more deeply. It allows you to ask questions about the paper and get the desired answers.
As of now, only papers from the [arXiv](https://arxiv.org/) are supported.
"""
)
8 changes: 4 additions & 4 deletions pages/1_πŸ§ŠπŸ”¨_Icebreaker.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@
st.session_state["icebreaker_abstract"] = None

if "icebreaker_model" not in st.session_state:
st.session_state["icebreaker_model"] = "gpt-3.5-turbo"
st.session_state["icebreaker_model"] = "gpt-4-turbo-preview"

if "icebreaker_prompt" not in st.session_state:
st.session_state["icebreaker_prompt"] = "icebreaker"
st.session_state["icebreaker_prompt"] = "icebreaker_good"

# Sidebar
st.sidebar.title("Search Settings")
Expand Down Expand Up @@ -103,13 +103,13 @@
if st.session_state.debug:
st.sidebar.selectbox(
"Select the model to use:",
["gpt-3.5-turbo", "gpt-4-turbo-preview"],
["gpt-4-turbo-preview", "gpt-3.5-turbo"],
key="icebreaker_model",
)

st.sidebar.selectbox(
"Select prompt to use:",
["icebreaker", "icebreaker_bad"],
["icebreaker_good", "icebreaker_ok", "icebreaker_bad"],
key="icebreaker_prompt",
)

Expand Down

0 comments on commit 020265f

Please sign in to comment.