ariankhalfani commited on
Commit
40136e2
1 Parent(s): 76b9e1c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -184,7 +184,7 @@ def append_patient_info_to_html(name, age, medical_record, sex, result, predicte
184
  </tr>
185
  """)
186
 
187
- # Append patient data vertically in a single column structure
188
  html_entry = f"""
189
  <tr><td><strong>Name</strong></td><td>{name}</td></tr>
190
  <tr><td><strong>Age</strong></td><td>{age}</td></tr>
@@ -200,6 +200,7 @@ def append_patient_info_to_html(name, age, medical_record, sex, result, predicte
200
 
201
  return str(html_db_file) # Return the HTML file path for download
202
 
 
203
  # Function to download the folders
204
  def download_folder(folder):
205
  zip_path = os.path.join(tempfile.gettempdir(), f"{folder}.zip")
 
184
  </tr>
185
  """)
186
 
187
+ # Append patient data vertically in a single column structure without raw predictions
188
  html_entry = f"""
189
  <tr><td><strong>Name</strong></td><td>{name}</td></tr>
190
  <tr><td><strong>Age</strong></td><td>{age}</td></tr>
 
200
 
201
  return str(html_db_file) # Return the HTML file path for download
202
 
203
+
204
  # Function to download the folders
205
  def download_folder(folder):
206
  zip_path = os.path.join(tempfile.gettempdir(), f"{folder}.zip")