hagras commited on
Commit
271e50a
·
verified ·
1 Parent(s): 0ff2680

Update server.py

Browse files
Files changed (1) hide show
  1. server.py +1 -1
server.py CHANGED
@@ -27,7 +27,7 @@ else:
27
  uploads_dir.mkdir(exist_ok=True)
28
 
29
  # Configuration
30
- MAX_FILE_SIZE = 16 * 1024 # 16MB
31
  ALLOWED_EXTENSIONS = {'txt', 'pdf', 'doc', 'docx', 'ppt', 'pptx', 'xls', 'xlsx', 'odt', 'odp', 'ods'}
32
 
33
  def allowed_file(filename):
 
27
  uploads_dir.mkdir(exist_ok=True)
28
 
29
  # Configuration
30
+ MAX_FILE_SIZE = 16 * 1024 * 1024 # 16MB
31
  ALLOWED_EXTENSIONS = {'txt', 'pdf', 'doc', 'docx', 'ppt', 'pptx', 'xls', 'xlsx', 'odt', 'odp', 'ods'}
32
 
33
  def allowed_file(filename):