1
Some checks failed
CI / lint (push) Has been cancelled

This commit is contained in:
zcr
2026-03-18 10:12:06 +08:00
parent b56ac61450
commit d89a176b63
19 changed files with 2685 additions and 1 deletions

10
client.py Normal file
View File

@@ -0,0 +1,10 @@
# This file is auto-generated by LitServe.
# Disable auto-generation by setting `generate_client_file=False` in `LitServer.run()`.
import time
import requests
start_time = time.time()
response = requests.post("http://127.0.0.1:8011/predict", json={"prompt": "变成一只猫"})
# print(f"Status: {response.status_code}\nResponse:\n {response.text}")
print(time.time() - start_time)