Omnibus commited on
Commit
3f6e10c
1 Parent(s): b1e109f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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.dumps(r.text)
229
- game_html=game_fn(lod['background_url'],lod['star_url'],lod['enemy_url'])
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)