Hugging Face
Models
Datasets
Spaces
Buckets
new
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
sanbatte
/
finance_api
like
0
Sleeping
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
8d5cfb7
finance_api
/
app
/
models
/
prediction_models.py
sanbatte
refactor app
2939a15
over 2 years ago
raw
Copy download link
history
blame
Safe
215 Bytes
from
pydantic
import
BaseModel
from
typing
import
List
class
PredictionRequest
(
BaseModel
):
invoiceId:
List
[
int
]
country:
str
class
PredictionResponse
(
BaseModel
):
invoiceId:
int
prediction:
float