|
import gradio as gr |
|
|
|
sky = 'https://huggingface.co/spaces/Omnibus/game-test/resolve/main/assets/sky.png' |
|
ground = 'https://huggingface.co/spaces/Omnibus/game-test/resolve/main/assets/platform.png' |
|
star = 'https://huggingface.co/spaces/Omnibus/game-test/resolve/main/assets/star.png' |
|
bomb = 'https://huggingface.co/spaces/Omnibus/game-test/resolve/main/assets/bomb.png' |
|
dude = 'https://huggingface.co/spaces/Omnibus/game-test/resolve/main/assets/dude.png' |
|
with gr.Blocks() as app: |
|
gr.HTML(""" |
|
|
|
<div id="demo"> |
|
<iframe |
|
src="https://omnibus-game-test-static.static.hf.space" |
|
frameborder="0" |
|
width="100%" |
|
></iframe> |
|
</div> |
|
""") |
|
|
|
app.launch() |