Spaces:
Runtime error
Runtime error
Update main.py
Browse files
main.py
CHANGED
@@ -126,7 +126,7 @@ def answer():
|
|
126 |
def hello_world():
|
127 |
return jsonify('Check')
|
128 |
|
129 |
-
@app.route('/upload_model', methods=['
|
130 |
def upload_model():
|
131 |
# Parâmetros
|
132 |
file_name= request.args.get('file_name', default='')
|
|
|
126 |
def hello_world():
|
127 |
return jsonify('Check')
|
128 |
|
129 |
+
@app.route('/upload_model', methods=['GET'])
|
130 |
def upload_model():
|
131 |
# Parâmetros
|
132 |
file_name= request.args.get('file_name', default='')
|