Omnibus commited on
Commit
ebfe479
1 Parent(s): fbe4822

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -1,6 +1,7 @@
1
  import gradio as gr
2
 
3
- sky = "https://huggingface.co/spaces/Omnibus/game-test/resolve/main/assets/sky.png"
 
4
  platform = 'https://huggingface.co/spaces/Omnibus/game-test/resolve/main/assets/platform.png'
5
  star = 'https://huggingface.co/spaces/Omnibus/game-test/resolve/main/assets/star.png'
6
  bomb = 'https://huggingface.co/spaces/Omnibus/game-test/resolve/main/assets/bomb.png'
@@ -25,7 +26,7 @@ html_mod=f"""
25
  <div id="demo">
26
  <iframe
27
  id="myIframe"
28
- src="https://omnibus-game-test-static.static.hf.space?sky=https://huggingface.co/spaces/Omnibus/game-test/resolve/main/assets/sky.png&platform={platform}&star={star}&bomb={bomb}&dude={dude}"
29
  frameborder="0"
30
  width="100%"
31
  height="100%"
 
1
  import gradio as gr
2
 
3
+ #sky = "https://huggingface.co/spaces/Omnibus/game-test/resolve/main/assets/sky.png"
4
+ sky="https%3A%2F%2Fhuggingface.co%2Fspaces%2FOmnibus%2Fgame-test%2Fresolve%2Fmain%2Fassets%2Fsky.png"
5
  platform = 'https://huggingface.co/spaces/Omnibus/game-test/resolve/main/assets/platform.png'
6
  star = 'https://huggingface.co/spaces/Omnibus/game-test/resolve/main/assets/star.png'
7
  bomb = 'https://huggingface.co/spaces/Omnibus/game-test/resolve/main/assets/bomb.png'
 
26
  <div id="demo">
27
  <iframe
28
  id="myIframe"
29
+ src="https://omnibus-game-test-static.static.hf.space?sky={sky}&platform={platform}&star={star}&bomb={bomb}&dude={dude}"
30
  frameborder="0"
31
  width="100%"
32
  height="100%"