Spaces:
Sleeping
Sleeping
Debug 15
Browse files
app.py
CHANGED
@@ -43,6 +43,7 @@ def download_patient(patient_id: str) -> str:
|
|
43 |
my_file = Path(f"Patient{patient_id}.csv")
|
44 |
if not my_file.is_file():
|
45 |
raise Exception(f"[{my_file}] not found.")
|
|
|
46 |
return str(my_file)
|
47 |
|
48 |
with gr.Blocks() as demo:
|
|
|
43 |
my_file = Path(f"Patient{patient_id}.csv")
|
44 |
if not my_file.is_file():
|
45 |
raise Exception(f"[{my_file}] not found.")
|
46 |
+
print(f"Downloading file [{str(my_file)}].")
|
47 |
return str(my_file)
|
48 |
|
49 |
with gr.Blocks() as demo:
|