fhudi commited on
Commit
81ef59a
·
verified ·
1 Parent(s): 9b98acb

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. play_helper.py +4 -1
play_helper.py CHANGED
@@ -7,13 +7,16 @@ import gradio as gr
7
  import hashlib
8
  from io import BytesIO
9
 
10
- from textgames import GAME_NAMES, LEVEL_IDS, LEVELS, new_game, preload_game, game_filename
11
  from textgames.islands.islands import Islands
12
  from textgames.sudoku.sudoku import Sudoku
13
  from textgames.crossword_arranger.crossword_arranger import CrosswordArrangerGame
14
  from textgames.ordering_text.ordering_text import OrderingTextGame
15
 
16
 
 
 
 
17
  # %%
18
  import google.auth
19
  from googleapiclient.discovery import build
 
7
  import hashlib
8
  from io import BytesIO
9
 
10
+ from textgames import GAME_NAMES as _GAME_NAMES, LEVEL_IDS, LEVELS, new_game, preload_game, game_filename
11
  from textgames.islands.islands import Islands
12
  from textgames.sudoku.sudoku import Sudoku
13
  from textgames.crossword_arranger.crossword_arranger import CrosswordArrangerGame
14
  from textgames.ordering_text.ordering_text import OrderingTextGame
15
 
16
 
17
+ # %%
18
+ GAME_NAMES = [_GAME_NAMES[_] for _ in [5, 3, 6, 7, 0, 1, 2, 4]]
19
+
20
  # %%
21
  import google.auth
22
  from googleapiclient.discovery import build