Spaces:
Paused
Paused
Initial commit
Browse filesFiles changed (5)
- .gitattributes+1
- DockerfileAdded+14
- README.md+6-4
- app.pyAdded+18
- spritefusionAdded+3
32 unmodified lines3334353632 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 -textspritefusion filter=lfs diff=lfs merge=lfs -text1234567891011121314# Read the doc: https://huggingface.co/docs/hub/spaces-sdks-docker# you will also find guides on how best to write your Dockerfile
FROM python:3.9
RUN useradd -m -u 1000 userUSER userENV PATH="/home/user/.local/bin:$PATH"
WORKDIR /app
COPY --chown=user . /app
CMD ["python", "app.py"]1234534567789101112---title: Tilemap Editoremoji: 🏆colorFrom: bluecolorTo: indigoemoji: 💿colorFrom: yellowcolorTo: purplesdk: dockerpinned: falsepinned: trueapp_port: 3000short_description: "Built with SvelteKit and EXE: https://github.com/Hugo-Dz/exe"---
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference123456789101112131415161718import subprocessimport sysimport os
if __name__ == "__main__": # Make it executable os.chmod("./spritefusion", 0o755)
try: result = subprocess.run( ["./spritefusion"], check=True, capture_output=False) sys.exit(result.returncode) except subprocess.CalledProcessError as e: print(f"Binary execution failed with return code {e.returncode}") sys.exit(e.returncode) except Exception as e: print(f"Error executing binary: {e}") sys.exit(1)123version https://git-lfs.github.com/spec/v1oid sha256:b7f3bbac74c9acf7e301d3d0f576776dcf62b74e0884178714c37df28c948ca0size 47874720.gitattributes+1
DockerfileAdded+14
README.md+6-4
app.pyAdded+18
spritefusionAdded+3