tastypear commited on
Commit
6d2b530
1 Parent(s): af81913

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +2 -2
main.py CHANGED
@@ -45,9 +45,9 @@ def model_list():
45
 
46
  @app.route("/", methods=["GET"])
47
  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"])
 
45
 
46
  @app.route("/", methods=["GET"])
47
  def index():
48
+ return Response(f'Hunyuan 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"])