kirubel1738 commited on
Commit
dce22b5
Β·
verified Β·
1 Parent(s): 54e50a3

Update src/streamlit_app.py

Browse files
Files changed (1) hide show
  1. 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 β€” Biology QA Demo", layout="centered")
46
- st.title("🧬 BioGPT β€” Pubmed QA Demo")
47
 
48
- st.write("Ask a biology-related question and get an answer generated by BioGPT-Large-PubMedQA fine-tuned with your Biology-QA adapter.")
 
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-biology-qa | Runs on CPU/GPU automatically")
 
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")