Update app.py
Browse files
app.py
CHANGED
@@ -6,11 +6,11 @@ star = 'https://huggingface.co/spaces/Omnibus/game-test/resolve/main/assets/star
|
|
6 |
bomb = 'https://huggingface.co/spaces/Omnibus/game-test/resolve/main/assets/bomb.png'
|
7 |
dude = 'https://huggingface.co/spaces/Omnibus/game-test/resolve/main/assets/dude.png'
|
8 |
load_js=f"""
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
|
15 |
let myIframe = document.getElementById("myIframe");
|
16 |
let url_string = "https://omnibus-game-test-static.static.hf.space";
|
|
|
6 |
bomb = 'https://huggingface.co/spaces/Omnibus/game-test/resolve/main/assets/bomb.png'
|
7 |
dude = 'https://huggingface.co/spaces/Omnibus/game-test/resolve/main/assets/dude.png'
|
8 |
load_js=f"""
|
9 |
+
var sky_img = {sky};
|
10 |
+
var platform_img = {platform};
|
11 |
+
var star_img = {star};
|
12 |
+
var bomb_img = {bomb};
|
13 |
+
var dude_img = {dude};
|
14 |
|
15 |
let myIframe = document.getElementById("myIframe");
|
16 |
let url_string = "https://omnibus-game-test-static.static.hf.space";
|