Update main.py
Browse files
main.py
CHANGED
@@ -48,7 +48,7 @@ def index():
|
|
48 |
return Response(f"Hunyuan-Large OpenAI Compatible API<br><br>"+
|
49 |
f'Set "{os.getenv("SPACE_URL")}/api" as proxy (or API Domain) in your Chatbot.<br><br>'+
|
50 |
f"The complete API is: {os.getenv("SPACE_URL")}/api/v1/chat/completions<br><br>"+
|
51 |
-
f"Don't set the Syetem Prompt. It will be ignored."
|
52 |
|
53 |
@app.route("/api/v1/chat/completions", methods=["POST", "OPTIONS"])
|
54 |
@app.route("/v1/chat/completions", methods=["POST", "OPTIONS"])
|
|
|
48 |
return Response(f"Hunyuan-Large OpenAI Compatible API<br><br>"+
|
49 |
f'Set "{os.getenv("SPACE_URL")}/api" as proxy (or API Domain) in your Chatbot.<br><br>'+
|
50 |
f"The complete API is: {os.getenv("SPACE_URL")}/api/v1/chat/completions<br><br>"+
|
51 |
+
f"Don't set the Syetem Prompt. It will be ignored.")
|
52 |
|
53 |
@app.route("/api/v1/chat/completions", methods=["POST", "OPTIONS"])
|
54 |
@app.route("/v1/chat/completions", methods=["POST", "OPTIONS"])
|