Spaces:
Running
Running
Update main.py
Browse files
main.py
CHANGED
@@ -44,7 +44,7 @@ def model_list():
|
|
44 |
|
45 |
@app.route("/", methods=["GET"])
|
46 |
def index():
|
47 |
-
return Response(f'
|
48 |
f'Set "{os.getenv("SPACE_URL")}/api" as proxy (or API Domain) in your Chatbot.<br><br>'+
|
49 |
f'The complete API is: {os.getenv("SPACE_URL")}/api/v1/chat/completions')
|
50 |
|
|
|
44 |
|
45 |
@app.route("/", methods=["GET"])
|
46 |
def index():
|
47 |
+
return Response(f'QW2 OpenAI Compatible API<br><br>'+
|
48 |
f'Set "{os.getenv("SPACE_URL")}/api" as proxy (or API Domain) in your Chatbot.<br><br>'+
|
49 |
f'The complete API is: {os.getenv("SPACE_URL")}/api/v1/chat/completions')
|
50 |
|