barttee commited on
Commit
f52b5c8
·
verified ·
1 Parent(s): be477d4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -7,8 +7,8 @@ import os
7
  import time
8
 
9
  app = Flask(__name__)
10
- # Set maximum content length to 100MB to handle larger files
11
- app.config['MAX_CONTENT_LENGTH'] = 100 * 1024 * 1024
12
 
13
  # Create upload folder if it doesn't exist
14
  UPLOAD_FOLDER = '/tmp/tokenizer_uploads'
 
7
  import time
8
 
9
  app = Flask(__name__)
10
+ # Set maximum content length to 50MB to handle larger files
11
+ app.config['MAX_CONTENT_LENGTH'] = 50 * 1024 * 1024
12
 
13
  # Create upload folder if it doesn't exist
14
  UPLOAD_FOLDER = '/tmp/tokenizer_uploads'