Update src/streamlit_app.py
Browse files- src/streamlit_app.py +5 -4
src/streamlit_app.py
CHANGED
|
@@ -42,10 +42,11 @@ generator = load_model()
|
|
| 42 |
# -----------------------------
|
| 43 |
# Streamlit UI
|
| 44 |
# -----------------------------
|
| 45 |
-
st.set_page_config(page_title="BioGPT β
|
| 46 |
-
st.title("𧬠BioGPT β Pubmed
|
| 47 |
|
| 48 |
-
st.write("Ask a biology-related question and get an answer
|
|
|
|
| 49 |
|
| 50 |
user_input = st.text_area("Enter your biology question:", height=150)
|
| 51 |
|
|
@@ -69,4 +70,4 @@ if st.button("Get Answer"):
|
|
| 69 |
st.warning("Please enter a question.")
|
| 70 |
|
| 71 |
st.markdown("---")
|
| 72 |
-
st.caption("Model: microsoft/BioGPT-Large-PubMedQA + adapter kirubel1738/biogpt-
|
|
|
|
| 42 |
# -----------------------------
|
| 43 |
# Streamlit UI
|
| 44 |
# -----------------------------
|
| 45 |
+
st.set_page_config(page_title="BioGPT β Pubmed Demo", layout="centered")
|
| 46 |
+
st.title("𧬠BioGPT β Pubmed chatbot")
|
| 47 |
|
| 48 |
+
st.write("Ask a biology-related question and get an answer.")
|
| 49 |
+
st.write("Generated by BioGPT-Large-PubMedQA fine-tuned on cais/mmlu and allenai/sciq datasets.")
|
| 50 |
|
| 51 |
user_input = st.text_area("Enter your biology question:", height=150)
|
| 52 |
|
|
|
|
| 70 |
st.warning("Please enter a question.")
|
| 71 |
|
| 72 |
st.markdown("---")
|
| 73 |
+
st.caption("Model: microsoft/BioGPT-Large-PubMedQA + adapter kirubel1738/biogpt-pubmedqa-finetuned | Runs on CPU automatically")
|