Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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
|
| 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
|