smjain commited on
Commit
312f207
1 Parent(s): a98d932

Upload myinfer_latest.py

Browse files
Files changed (1) hide show
  1. myinfer_latest.py +1 -1
myinfer_latest.py CHANGED
@@ -173,7 +173,7 @@ def api_convert_voice():
173
  if file.filename == '':
174
  return jsonify({"error": "No selected file"}), 400
175
 
176
- if file.content_length > 6 * 1024 * 1024:
177
  return jsonify({"error": "File size exceeds 6 MB"}), 400
178
 
179
 
 
173
  if file.filename == '':
174
  return jsonify({"error": "No selected file"}), 400
175
 
176
+ if file.content_length > 10 * 1024 * 1024:
177
  return jsonify({"error": "File size exceeds 6 MB"}), 400
178
 
179