wasmdashai commited on
Commit
a2515ad
·
verified ·
1 Parent(s): 61b5366

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
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
- with open(file_path, "wb") as f:
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