Spaces:
Sleeping
Sleeping
DevsDoCode
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -51,9 +51,7 @@ def index():
|
|
51 |
@app.route('/chat/completions', methods=['POST', 'GET'])
|
52 |
@requires_api_key
|
53 |
def chat_completions(api_key):
|
54 |
-
print("requess received")
|
55 |
try:
|
56 |
-
logging.info("Received request for chat completions")
|
57 |
# Parse and validate request data
|
58 |
try:
|
59 |
data = request.get_json()
|
|
|
51 |
@app.route('/chat/completions', methods=['POST', 'GET'])
|
52 |
@requires_api_key
|
53 |
def chat_completions(api_key):
|
|
|
54 |
try:
|
|
|
55 |
# Parse and validate request data
|
56 |
try:
|
57 |
data = request.get_json()
|