Spaces:
Runtime error
Runtime error
Update main.py
Browse files
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=['
|
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')
|