ACMCMC commited on
Commit
ee05396
1 Parent(s): 52ee7a9
Files changed (2) hide show
  1. app.py +4 -1
  2. img_klinic.jpeg +0 -0
app.py CHANGED
@@ -36,6 +36,9 @@ CONNECTION_STRING = f"iris://{username}:{password}@{hostname}:{port}/{namespace}
36
  engine = create_engine(CONNECTION_STRING)
37
 
38
 
 
 
 
39
  with st.container(): # user input
40
  col1, col2 = st.columns((6, 1))
41
 
@@ -78,7 +81,7 @@ with st.container():
78
  json_of_clinical_trials = get_clinical_records_by_ids(
79
  [trial["nct_id"] for trial in clinical_trials_related_to_the_diseases]
80
  )
81
- status.json(json_of_clinical_trials)
82
  # 7. Use an LLM to get a summary of the clinical trials, in plain text format.
83
  status.write("Getting a summary of the clinical trials...")
84
  response = get_short_summary_out_of_json_files(json_of_clinical_trials)
 
36
  engine = create_engine(CONNECTION_STRING)
37
 
38
 
39
+ st.image("img_klinic.jpeg", caption="(AI-generated image)", use_column_width=True)
40
+ st.title("Klìnic", help="AI-powered clinical trial search engine")
41
+
42
  with st.container(): # user input
43
  col1, col2 = st.columns((6, 1))
44
 
 
81
  json_of_clinical_trials = get_clinical_records_by_ids(
82
  [trial["nct_id"] for trial in clinical_trials_related_to_the_diseases]
83
  )
84
+ status.json(json_of_clinical_trials, expanded=False)
85
  # 7. Use an LLM to get a summary of the clinical trials, in plain text format.
86
  status.write("Getting a summary of the clinical trials...")
87
  response = get_short_summary_out_of_json_files(json_of_clinical_trials)
img_klinic.jpeg ADDED