Update app.py
Browse files
app.py
CHANGED
@@ -225,8 +225,8 @@ def predict(text, url_params):
|
|
225 |
if load_game != None:
|
226 |
try:
|
227 |
r = requests.get(f'{save_data}games/{load_game}.omnigame')
|
228 |
-
lod = json.
|
229 |
-
game_html=game_fn(lod[
|
230 |
#out_lod.append(lod)
|
231 |
print (lod)
|
232 |
print (game_html)
|
|
|
225 |
if load_game != None:
|
226 |
try:
|
227 |
r = requests.get(f'{save_data}games/{load_game}.omnigame')
|
228 |
+
lod = json.loads(r.text)
|
229 |
+
game_html=game_fn(lod[2],lod[3],lod[4])
|
230 |
#out_lod.append(lod)
|
231 |
print (lod)
|
232 |
print (game_html)
|