sammyview80 commited on
Commit
51c3821
·
verified ·
1 Parent(s): db94086

Update flask_app.py

Browse files
Files changed (1) hide show
  1. flask_app.py +1 -1
flask_app.py CHANGED
@@ -22,7 +22,7 @@ def allowed_file(filename):
22
  filename.rsplit('.', 1)[1].lower() in ALLOWED_EXTENSIONS
23
 
24
  @app.route('/rm-bg/<transparent>', methods=['GET', 'POST'])
25
- def upload_file(transparent, color):
26
  transparent = True if transparent == "true" else False
27
  if request.method == 'POST':
28
  if 'file' not in request.files:
 
22
  filename.rsplit('.', 1)[1].lower() in ALLOWED_EXTENSIONS
23
 
24
  @app.route('/rm-bg/<transparent>', methods=['GET', 'POST'])
25
+ def upload_file(transparent):
26
  transparent = True if transparent == "true" else False
27
  if request.method == 'POST':
28
  if 'file' not in request.files: