Spaces:
Runtime error
Runtime error
from pydantic import BaseModel | |
initial_info = {"done" : True, | |
"score": 0, "count": 0, | |
"best_score": 0, "best_time": float("inf"), | |
"time": 0.0, "comment": "", | |
"history": [], | |
"candidates": ['1번', '2번', '3번', '4번']} | |
class Info(BaseModel): | |
done: bool = True | |
score: int = 0 | |
count: int = 0 | |
answer: str = None | |
best_score: int = 0 | |
best_time: float = float("inf") | |
time: float = 0.0 | |
comment: str = "" | |
history: list = [] | |
candidates: list = ['1번', '2번', '3번', '4번'] | |
name: str = None | |
generations: list = [] | |
types: list = [] | |