Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
Hammad712
/
grading
like
0
Sleeping
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
7fa9057
grading
/
models.py
Hammad712
Create models.py
ab7cc25
verified
about 2 months ago
raw
Copy download link
history
blame
Safe
208 Bytes
from
typing
import
List
from
pydantic
import
BaseModel
class
ExtractionResult
(
BaseModel
):
answers:
List
[
str
]
class
EvaluationResult
(
BaseModel
):
total_marks:
int
grade:
str
percentage:
float