craftgamesnetwork commited on
Commit
903c800
·
verified ·
1 Parent(s): 615a89f

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -126,7 +126,7 @@ def answer():
126
  def hello_world():
127
  return jsonify('Check')
128
 
129
- @app.route('/upload_model', methods=['POST'])
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='')