Spaces:
Sleeping
Sleeping
Update app.py
#3
by Elin310 - opened
app.py
CHANGED
|
@@ -223,7 +223,7 @@ TEXTURE_URL = "https://upload.wikimedia.org/wikipedia/commons/7/70/Solarsystemsc
|
|
| 223 |
# -----------------------------
|
| 224 |
def mars_html(texture_url=TEXTURE_URL):
|
| 225 |
return f"""
|
| 226 |
-
<div id="mars-container" style="width:100%;height:420px;position:relative;border-radius:12px;overflow:hidden">
|
| 227 |
<canvas id="mars-canvas" style="display:block;width:100%;height:100%"></canvas>
|
| 228 |
</div>
|
| 229 |
<script type="module">
|
|
|
|
| 223 |
# -----------------------------
|
| 224 |
def mars_html(texture_url=TEXTURE_URL):
|
| 225 |
return f"""
|
| 226 |
+
<div id="mars-container" style="width:100%;height:420px;position:relative;background:#01010A;border-radius:12px;overflow:hidden">
|
| 227 |
<canvas id="mars-canvas" style="display:block;width:100%;height:100%"></canvas>
|
| 228 |
</div>
|
| 229 |
<script type="module">
|