Spaces:
Running
Running
Update main.py
Browse files
main.py
CHANGED
|
@@ -212,8 +212,8 @@ async def analyze_game(request: AnalyzeRequest):
|
|
| 212 |
current_score, _ = get_normalized_score(info_before)
|
| 213 |
|
| 214 |
# To track accuracy
|
| 215 |
-
total_cpl = 0
|
| 216 |
-
player_moves_count = 0
|
| 217 |
|
| 218 |
counts = {
|
| 219 |
"Brilliant": 0, "Great": 0, "Best": 0,
|
|
|
|
| 212 |
current_score, _ = get_normalized_score(info_before)
|
| 213 |
|
| 214 |
# To track accuracy
|
| 215 |
+
total_cpl: float = 0.0
|
| 216 |
+
player_moves_count: int = 0
|
| 217 |
|
| 218 |
counts = {
|
| 219 |
"Brilliant": 0, "Great": 0, "Best": 0,
|