Spaces:
Sleeping
Sleeping
Commit
·
5c03901
1
Parent(s):
4e27330
v.1.42+
Browse files
app.py
CHANGED
@@ -828,7 +828,7 @@ def create_interface():
|
|
828 |
if detector:
|
829 |
detector.cleanup()
|
830 |
|
831 |
-
def
|
832 |
"""Handle file download when button is clicked"""
|
833 |
if file_bytes is not None:
|
834 |
return (file_bytes, "результаты_анализа.xlsx")
|
|
|
828 |
if detector:
|
829 |
detector.cleanup()
|
830 |
|
831 |
+
def handle_download(file_bytes):
|
832 |
"""Handle file download when button is clicked"""
|
833 |
if file_bytes is not None:
|
834 |
return (file_bytes, "результаты_анализа.xlsx")
|