Spaces:
Running
Running
Commit ·
62ef6f2
1
Parent(s): 3467e7d
initial commit
Browse filesFiles changed (11)
- .gitattributes+1
- Build/Demo.dataAdded+3
- Build/Demo.framework.jsAdded+3
- Build/Demo.loader.jsAdded+3
- Build/Demo.wasmAdded+3
- StreamingAssets/UnityServicesProjectConfiguration.jsonAdded+1
- TemplateData/favicon.icoAdded
- TemplateData/fullscreen-button.pngAdded
- TemplateData/style.cssAdded+105
- index.html+90-17
- logo.pngAdded
31 unmodified lines32333431 unmodified lines*.zip filter=lfs diff=lfs merge=lfs -text*.zst filter=lfs diff=lfs merge=lfs -text*tfevents* filter=lfs diff=lfs merge=lfs -text31 unmodified lines3233343531 unmodified lines*.zip filter=lfs diff=lfs merge=lfs -text*.zst filter=lfs diff=lfs merge=lfs -text*tfevents* filter=lfs diff=lfs merge=lfs -textBuild/* filter=lfs diff=lfs merge=lfs -text
123version https://git-lfs.github.com/spec/v1oid sha256:9f506e383cfade8b7049066976ab2e755a8c1c9c0b76c4edc9350cf3d1edb946size 19475556123version https://git-lfs.github.com/spec/v1oid sha256:45e6616d991b626f2b35d8051587085f2f984105f334fa67dbf3388d8304cfcfsize 444498123version https://git-lfs.github.com/spec/v1oid sha256:268a317fcde2cfd10b2e53e0914dbf9d7df66a8441b9657d21086fe940a2a75esize 18894123version https://git-lfs.github.com/spec/v1oid sha256:9e15df75887af07a518d63fdb0f80624d8140de0005723b3b180a8d219451b63size 350289941{"Keys":["com.unity.services.core.cloud-environment","com.unity.services.core.version"],"Values":[{"m_Value":"production","m_IsReadOnly":true},{"m_Value":"1.4.2","m_IsReadOnly":true}]}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105html { box-sizing: border-box;}*, *:before, *:after { box-sizing: inherit;}html, body { height: 100%;}canvas { display: block;}body { margin: 0;}#unity-container { width: 100%; height: 100%;}#unity-canvas { width: 100%; height: 100%; background: #231F20;}#loading-cover { position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: flex; justify-content: center; align-items: center;}#unity-loading-bar { flex: 1 1 auto; display: flex; flex-direction: column; justify-content: center; align-items: center;}#unity-logo { text-align: center;}#unity-logo img { max-width: 80%;}#unity-progress-bar-empty { width: 80%; height: 24px; margin: 10px 20px 20px 10px; text-align: left; border: 1px solid white; padding: 2px;}#unity-progress-bar-full { width: 0%; height: 100%; background: #ffd21e;}.light #unity-progress-bar-empty { border-color: black;}.light #unity-progress-bar-full { background: black;}
#unity-fullscreen-button { position: absolute; right: 10px; bottom: 40px; width: 38px; height: 38px; background: url('fullscreen-button.png') no-repeat center; background-size: contain;}
.spinner,.spinner:after { border-radius: 50%; width: 5em; height: 5em;}.spinner { margin: 10px; font-size: 10px; position: relative; text-indent: -9999em; border-top: 1.1em solid rgba(255, 255, 255, 0.2); border-right: 1.1em solid rgba(255, 255, 255, 0.2); border-bottom: 1.1em solid rgba(255, 255, 255, 0.2); border-left: 1.1em solid #ffffff; transform: translateZ(0); animation: spinner-spin 1.1s infinite linear;}@keyframes spinner-spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); }}
12345678910111213141516171819<!DOCTYPE html><html><head><meta charset="utf-8" /><meta name="viewport" content="width=device-width" /><title>My static Space</title><link rel="stylesheet" href="style.css" /></head><body><div class="card"><h1>Welcome to your static Space!</h1><p>You can modify this app directly by editing <i>index.html</i> in the Files and versions tab.</p><p>Also don't forget to check the<a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>.</p></div></body></html>1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192<!DOCTYPE html><html lang="en-us"><head><meta charset="utf-8"><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no"><title>APIDemo</title><link rel="shortcut icon" href="TemplateData/favicon.ico"><link rel="stylesheet" href="TemplateData/style.css"></head><body class="dark"><div id="unity-container" class="unity-desktop"><canvas id="unity-canvas"></canvas></div><div id="loading-cover" style="display:none;"><div id="unity-loading-bar"><div id="unity-logo"><img src="logo.png"></div><div id="unity-progress-bar-empty" style="display: none;"><div id="unity-progress-bar-full"></div></div><div class="spinner"></div></div></div><div id="unity-fullscreen-button" style="display: none;"></div><script>const hideFullScreenButton = "";const buildUrl = "Build";const loaderUrl = buildUrl + "/Demo.loader.js";const config = {dataUrl: buildUrl + "/Demo.data",frameworkUrl: buildUrl + "/Demo.framework.js",codeUrl: buildUrl + "/Demo.wasm",streamingAssetsUrl: "StreamingAssets",companyName: "DefaultCompany",productName: "APIDemo",productVersion: "0.1",};const container = document.querySelector("#unity-container");const canvas = document.querySelector("#unity-canvas");const loadingCover = document.querySelector("#loading-cover");const progressBarEmpty = document.querySelector("#unity-progress-bar-empty");const progressBarFull = document.querySelector("#unity-progress-bar-full");const fullscreenButton = document.querySelector("#unity-fullscreen-button");const spinner = document.querySelector('.spinner');const canFullscreen = (function() {for (const key of ['exitFullscreen','webkitExitFullscreen','webkitCancelFullScreen','mozCancelFullScreen','msExitFullscreen',]) {if (key in document) {return true;}}return false;}());if (/iPhone|iPad|iPod|Android/i.test(navigator.userAgent)) {container.className = "unity-mobile";config.devicePixelRatio = 1;}loadingCover.style.display = "";const script = document.createElement("script");script.src = loaderUrl;script.onload = () => {createUnityInstance(canvas, config, (progress) => {spinner.style.display = "none";progressBarEmpty.style.display = "";progressBarFull.style.width = `${100 * progress}%`;}).then((unityInstance) => {loadingCover.style.display = "none";if (canFullscreen) {if (!hideFullScreenButton) {fullscreenButton.style.display = "";}fullscreenButton.onclick = () => {unityInstance.SetFullscreen(1);};}}).catch((message) => {alert(message);});};document.body.appendChild(script);</script></body></html>
.gitattributes+1
Build/Demo.dataAdded+3
Build/Demo.framework.jsAdded+3
Build/Demo.loader.jsAdded+3
Build/Demo.wasmAdded+3
StreamingAssets/UnityServicesProjectConfiguration.jsonAdded+1
TemplateData/favicon.icoAdded
TemplateData/fullscreen-button.pngAdded

TemplateData/style.cssAdded+105
index.html+90-17
logo.pngAdded
