swarit222 commited on
Commit
de55d66
·
verified ·
1 Parent(s): fcca247

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -3
app.py CHANGED
@@ -23,12 +23,9 @@ def split_sentences(text):
23
 
24
  def build_input_text(row):
25
  text_parts = [
26
- f"Intervention Name: {row.get('InterventionName', '')}",
27
- f"Intervention Description: {row.get('InterventionDescription', '')}",
28
  f"Brief Summary: {row.get('BriefSummary', '')}",
29
  f"Primary Outcome Measure: {row.get('PrimaryOutcomeMeasure', '')}",
30
  f"Primary Outcome Description: {row.get('PrimaryOutcomeDescription', '')}",
31
- f"Start Date: {row.get('StartDate', '')}",
32
  f"Primary Completion Date: {row.get('PrimaryCompletionDate', '')}"
33
  ]
34
  return " ".join([part for part in text_parts if part.strip()])
 
23
 
24
  def build_input_text(row):
25
  text_parts = [
 
 
26
  f"Brief Summary: {row.get('BriefSummary', '')}",
27
  f"Primary Outcome Measure: {row.get('PrimaryOutcomeMeasure', '')}",
28
  f"Primary Outcome Description: {row.get('PrimaryOutcomeDescription', '')}",
 
29
  f"Primary Completion Date: {row.get('PrimaryCompletionDate', '')}"
30
  ]
31
  return " ".join([part for part in text_parts if part.strip()])