lcipolina commited on
Commit
95fa365
·
verified ·
1 Parent(s): b870575

Fixed gr.TypeDict

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -222,13 +222,13 @@ def extract_illegal_moves_summary() -> pd.DataFrame:
222
  # -----------------------------------------------------------------------------
223
 
224
 
225
- class PlayerConfigData(gr.TypedDict, total=False):
226
  player_types: List[str]
227
  player_type_display: Dict[str, str]
228
  available_models: List[str]
229
 
230
 
231
- class GameArenaConfig(gr.TypedDict, total=False):
232
  available_games: List[str]
233
  player_config: PlayerConfigData
234
  model_info: str
 
222
  # -----------------------------------------------------------------------------
223
 
224
 
225
+ class PlayerConfigData(TypedDict, total=False):
226
  player_types: List[str]
227
  player_type_display: Dict[str, str]
228
  available_models: List[str]
229
 
230
 
231
+ class GameArenaConfig(TypedDict, total=False):
232
  available_games: List[str]
233
  player_config: PlayerConfigData
234
  model_info: str