craftgamesnetwork commited on
Commit
5f6d701
·
verified ·
1 Parent(s): a0077b2

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -6,7 +6,7 @@ from huggingface_hub import create_repo, upload_file
6
 
7
  app = Flask(__name__)
8
 
9
- @app.route('/run', methods=['POST'])
10
  def run_model():
11
  # Obter parâmetros da consulta da URL
12
  endpoint = request.args.get('endpoint', default='https://pierroromeu-zbilatuca2testzz.hf.space')
 
6
 
7
  app = Flask(__name__)
8
 
9
+ @app.route('/run', methods=['GET'])
10
  def run_model():
11
  # Obter parâmetros da consulta da URL
12
  endpoint = request.args.get('endpoint', default='https://pierroromeu-zbilatuca2testzz.hf.space')