Spaces:
Sleeping
Sleeping
Create schemas.py
Browse files- backend/api/schemas.py +6 -0
backend/api/schemas.py
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from pydantic import BaseModel
|
| 2 |
+
from typing import List, Dict, Any
|
| 3 |
+
|
| 4 |
+
|
| 5 |
+
class PredictRequest(BaseModel):
|
| 6 |
+
instances: List[Dict[str, Any]]
|