tannu038 commited on
Commit
5ae6eba
·
verified ·
1 Parent(s): ad0c4fd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -13,7 +13,7 @@ def extract_study_timeline(text):
13
  timeline = {
14
  "Screening": int(screening.group(1)) if screening else None,
15
  "Treatment": int(treatment.group(1)) if treatment else None,
16
- "Follow-Up": int(follow_up.group(1)) if follow_up else None
17
  }
18
 
19
  return timeline
 
13
  timeline = {
14
  "Screening": int(screening.group(1)) if screening else None,
15
  "Treatment": int(treatment.group(1)) if treatment else None,
16
+ "Follow-Up": int(follow_up.group(1)) if follow_up else "Not Mentioned" # Default to "Not Mentioned"
17
  }
18
 
19
  return timeline