Spaces:
Runtime error
Runtime error
craftgamesnetwork
commited on
Commit
•
f5a2ba0
1
Parent(s):
6a07040
Update main.py
Browse files
main.py
CHANGED
@@ -77,7 +77,7 @@ def predict_gan():
|
|
77 |
|
78 |
return jsonify(result)
|
79 |
|
80 |
-
@app.route('/faceswapper', methods=['
|
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/')
|