Update app.py
Browse files
app.py
CHANGED
|
@@ -53,7 +53,7 @@ async def upload_sink(file: UploadFile = File(...)):
|
|
| 53 |
resp = {
|
| 54 |
"birads": "BIRADS 2",
|
| 55 |
"molecular_subtype": "Luminal A",
|
| 56 |
-
"report": f"Received {file.filename} ({
|
| 57 |
"segmentedImageSrc": None,
|
| 58 |
|
| 59 |
# You can also include your perf stats; UI will ignore unknown keys
|
|
|
|
| 53 |
resp = {
|
| 54 |
"birads": "BIRADS 2",
|
| 55 |
"molecular_subtype": "Luminal A",
|
| 56 |
+
"report": f"Received {file.filename} ({mb:.2f} MB). Upload time {dt:.2f}s.",
|
| 57 |
"segmentedImageSrc": None,
|
| 58 |
|
| 59 |
# You can also include your perf stats; UI will ignore unknown keys
|