Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -16,8 +16,7 @@ def save_file(file):
|
|
16 |
|
17 |
# Save the file to the specified folder
|
18 |
file_path = os.path.join(upload_folder, file_name)
|
19 |
-
|
20 |
-
f.write(file.read())
|
21 |
|
22 |
return f"File saved to: {file_path}"
|
23 |
|
|
|
16 |
|
17 |
# Save the file to the specified folder
|
18 |
file_path = os.path.join(upload_folder, file_name)
|
19 |
+
|
|
|
20 |
|
21 |
return f"File saved to: {file_path}"
|
22 |
|