Spaces:
Paused
Paused
giorgio-caparvi
commited on
Commit
·
05f601f
1
Parent(s):
e2edca9
checking request method
Browse files- api/app.py +1 -1
api/app.py
CHANGED
@@ -36,7 +36,7 @@ def current_endpoint():
|
|
36 |
# Return the current URL to the client
|
37 |
return f"Current Endpoint: {full_url}"
|
38 |
|
39 |
-
@app.route('/generate-design', methods=['
|
40 |
def generate_design():
|
41 |
|
42 |
'''# Esegui il comando di generazione
|
|
|
36 |
# Return the current URL to the client
|
37 |
return f"Current Endpoint: {full_url}"
|
38 |
|
39 |
+
@app.route('/generate-design', methods=['GET'])
|
40 |
def generate_design():
|
41 |
|
42 |
'''# Esegui il comando di generazione
|