craftgamesnetwork commited on
Commit
f5a2ba0
1 Parent(s): 6a07040

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -77,7 +77,7 @@ def predict_gan():
77
 
78
  return jsonify(result)
79
 
80
- @app.route('/faceswapper', methods=['GET'])
81
  def faceswapper():
82
  # Obter parâmetros da consulta da URL
83
  endpoint = request.args.get('endpoint', default='https://pierroromeu-faceswapper.hf.space/--replicas/u42x7/')
 
77
 
78
  return jsonify(result)
79
 
80
+ @app.route('/faceswapper', methods=['POST'])
81
  def faceswapper():
82
  # Obter parâmetros da consulta da URL
83
  endpoint = request.args.get('endpoint', default='https://pierroromeu-faceswapper.hf.space/--replicas/u42x7/')