Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -259,7 +259,7 @@ def create_app():
|
|
259 |
thread.start()
|
260 |
return "OK", 200
|
261 |
|
262 |
-
@flask_app.route("/upload", methods=["POST"])
|
263 |
def upload():
|
264 |
|
265 |
if request.method == 'POST':
|
|
|
259 |
thread.start()
|
260 |
return "OK", 200
|
261 |
|
262 |
+
@flask_app.route("/upload", methods=["POST","GET"])
|
263 |
def upload():
|
264 |
|
265 |
if request.method == 'POST':
|