Update app.py
Browse files
app.py
CHANGED
@@ -216,22 +216,9 @@ function hitBomb (player, bomb)
|
|
216 |
|
217 |
with gr.Blocks() as app:
|
218 |
gr.HTML("""
|
219 |
-
<!doctype html>
|
220 |
-
<html lang="en">
|
221 |
-
<head>
|
222 |
-
<meta charset="UTF-8" />
|
223 |
-
<title>Game Test</title>
|
224 |
-
<style type="text/css">
|
225 |
-
body {
|
226 |
-
margin: 0;
|
227 |
-
}
|
228 |
-
</style>
|
229 |
-
</head>
|
230 |
-
<body>
|
231 |
<button type="testButton" onclick="testFn()"> Start </button>
|
232 |
<div id="demo"></div>
|
233 |
-
|
234 |
-
</html>""")
|
235 |
|
236 |
app.load(None,None,None,_js=load_js)
|
237 |
app.load(None,None,None,_js=game_js)
|
|
|
216 |
|
217 |
with gr.Blocks() as app:
|
218 |
gr.HTML("""
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
219 |
<button type="testButton" onclick="testFn()"> Start </button>
|
220 |
<div id="demo"></div>
|
221 |
+
""")
|
|
|
222 |
|
223 |
app.load(None,None,None,_js=load_js)
|
224 |
app.load(None,None,None,_js=game_js)
|