Update app.py
Browse files
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[
|
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)
|