Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
parkerjj
/
BuckLakeAI
like
0
Running
App
Files
Files
Community
91e61c6
BuckLakeAI
/
RequestModel.py
parkerjj
Daily Update, First Release for model 1012
62f31c8
11 days ago
raw
Copy download link
history
blame
Safe
221 Bytes
from
typing
import
Optional
,
List
from
pydantic
import
BaseModel
class
PredictRequest
(
BaseModel
):
text:
str
stock_codes:
Optional
[
List
[
str
]] =
None
# 定义为可选字段,可以是一个字符串列表