Compare commits

...

2 Commits

Author SHA1 Message Date
7507a56237 merge complete 2024-10-13 16:42:27 +04:00
847bb0694e Adding arhitecture 2024-10-13 16:38:23 +04:00
6 changed files with 22 additions and 0 deletions

View File

0
requirements.txt Normal file
View File

22
schemas/schemas.py Normal file
View File

@ -0,0 +1,22 @@
from pydantic import BaseModel
class LaptopCreate(BaseModel):
processor: str
ram: int
os: str
ssd: int
display: float
class LaptopResponse(BaseModel):
id: int
processor: str
ram: int
os: str
ssd: int
display: float
class Config:
orm_mode = True
class PredictPriceResponse(BaseModel):
predicted_price: float

0
services/service.py Normal file
View File