Spaces:
Sleeping
Sleeping
Salma Hassan
commited on
Commit
·
200ba0d
1
Parent(s):
470c97a
Remove scaling from the Gradio ChatInterface in app.py to streamline the layout of the Clinical Trial Matching Chatbot. This change aims to improve the overall user experience by simplifying the interface.
Browse files
app.py
CHANGED
@@ -507,7 +507,6 @@ if __name__ == "__main__":
|
|
507 |
gr.Markdown("## Start Matching")
|
508 |
chatbot = gr.ChatInterface(
|
509 |
fn=chat_function,
|
510 |
-
scale=1,
|
511 |
examples=[
|
512 |
["A 28-year-old non-pregnant female, otherwise healthy, presents to a community clinic to explore enrollment in a COVID-19 booster study. She completed her primary 2-dose Moderna series 5 months ago, has not received any other COVID vaccines since, and reports no history of vaccine-related side effects. Her most recent SARS-CoV-2 test today was negative. She reports consistent oral contraceptive use for over 6 months and denies any significant past medical history. She is willing to abstain from blood donation and complies with all study guidelines."],
|
513 |
["A 19-year-old pregnant patient, receiving prenatal care at Johns Hopkins Hospital, is 28 weeks gestation and preparing to receive her first mRNA COVID-19 vaccine dose. She has no previous history of COVID-19 and no significant medical history. She meets eligibility criteria and is interested in contributing to research on pregnancy and vaccine-related immune responses."],
|
|
|
507 |
gr.Markdown("## Start Matching")
|
508 |
chatbot = gr.ChatInterface(
|
509 |
fn=chat_function,
|
|
|
510 |
examples=[
|
511 |
["A 28-year-old non-pregnant female, otherwise healthy, presents to a community clinic to explore enrollment in a COVID-19 booster study. She completed her primary 2-dose Moderna series 5 months ago, has not received any other COVID vaccines since, and reports no history of vaccine-related side effects. Her most recent SARS-CoV-2 test today was negative. She reports consistent oral contraceptive use for over 6 months and denies any significant past medical history. She is willing to abstain from blood donation and complies with all study guidelines."],
|
512 |
["A 19-year-old pregnant patient, receiving prenatal care at Johns Hopkins Hospital, is 28 weeks gestation and preparing to receive her first mRNA COVID-19 vaccine dose. She has no previous history of COVID-19 and no significant medical history. She meets eligibility criteria and is interested in contributing to research on pregnancy and vaccine-related immune responses."],
|