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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -226,7 +226,7 @@ def predict(text, url_params):
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)
 
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[0]['background_url'],lod[0]['star_url'],lod[0]['enemy_url'])
230
  #out_lod.append(lod)
231
  print (lod)
232
  print (game_html)