first cimmit

This commit is contained in:
zcr
2026-01-26 10:16:47 +08:00
commit 71400cff38
12 changed files with 2026 additions and 0 deletions

7
client.py Normal file
View File

@@ -0,0 +1,7 @@
# This file is auto-generated by LitServe.
# Disable auto-generation by setting `generate_client_file=False` in `LitServer.run()`.
import requests
response = requests.post("http://127.0.0.1:8012/predict", json={"input": 4.0})
print(f"Status: {response.status_code}\nResponse:\n {response.text}")