prathje commited on
Commit
6708148
·
verified ·
1 Parent(s): d163443

Upload folder using huggingface_hub

Browse files
Files changed (5) hide show
  1. README.md +2 -4
  2. space.py +2 -2
  3. src/README.md +2 -4
  4. src/demo/space.py +2 -2
  5. src/pyproject.toml +7 -7
README.md CHANGED
@@ -10,11 +10,9 @@ app_file: space.py
10
  ---
11
 
12
  # `gradio_motioncanvasplayer`
13
- <a href="https://pypi.org/project/gradio_motioncanvasplayer/" target="_blank"><img alt="PyPI - Version" src="https://img.shields.io/pypi/v/gradio_motioncanvasplayer"></a>
14
 
15
- This custom component for [Gradio](https://www.gradio.app/) displays Motion Canvas projects directly in the browser. [Motion Canvas](https://motioncanvas.io/) is a library for generating animations, videos or presentations via the Canvas API. All animations are defined by code - a great playground for AI agents.
16
- An exemplary demo for this component is available in this [Huggingface Space](https://huggingface.co/spaces/prathje/gradio_motioncanvasplayer).
17
- The source code for the included project can be found at [https://github.com/prathje/gradio-motion-canvas-example](https://github.com/prathje/gradio-motion-canvas-example).
18
 
19
  ## Installation
20
 
 
10
  ---
11
 
12
  # `gradio_motioncanvasplayer`
13
+ <a href="https://pypi.org/project/gradio_motioncanvasplayer/" target="_blank"><img alt="PyPI - Version" src="https://img.shields.io/pypi/v/gradio_motioncanvasplayer"></a> <a href="https://github.com/prathje/gradio-motioncanvasplayer/issues" target="_blank"><img alt="Static Badge" src="https://img.shields.io/badge/Issues-white?logo=github&logoColor=black"></a> <a href="https://huggingface.co/spaces/prathje/gradio_motioncanvasplayer/discussions" target="_blank"><img alt="Static Badge" src="https://img.shields.io/badge/%F0%9F%A4%97%20Discuss-%23097EFF?style=flat&logoColor=black"></a>
14
 
15
+ This custom component for Gradio displays Motion Canvas projects in the browser. Motion Canvas is a library for generating animations, videos, or presentations via the Canvas API. All animations are defined by code - an excellent playground for AI agents. An exemplary demo for this component is available in this Huggingface Space: https://huggingface.co/spaces/prathje/gradio_motioncanvasplayer. The source code for the included project can be found at: https://github.com/prathje/gradio-motion-canvas-example.
 
 
16
 
17
  ## Installation
18
 
space.py CHANGED
@@ -21,10 +21,10 @@ with gr.Blocks(
21
  # `gradio_motioncanvasplayer`
22
 
23
  <div style="display: flex; gap: 7px;">
24
- <a href="https://pypi.org/project/gradio_motioncanvasplayer/" target="_blank"><img alt="PyPI - Version" src="https://img.shields.io/pypi/v/gradio_motioncanvasplayer"></a>
25
  </div>
26
 
27
- Motion Canvas Player to render Motion Canvas projects
28
  """, elem_classes=["md-custom"], header_links=True)
29
  app.render()
30
  gr.Markdown(
 
21
  # `gradio_motioncanvasplayer`
22
 
23
  <div style="display: flex; gap: 7px;">
24
+ <a href="https://pypi.org/project/gradio_motioncanvasplayer/" target="_blank"><img alt="PyPI - Version" src="https://img.shields.io/pypi/v/gradio_motioncanvasplayer"></a> <a href="https://github.com/prathje/gradio-motioncanvasplayer/issues" target="_blank"><img alt="Static Badge" src="https://img.shields.io/badge/Issues-white?logo=github&logoColor=black"></a> <a href="https://huggingface.co/spaces/prathje/gradio_motioncanvasplayer/discussions" target="_blank"><img alt="Static Badge" src="https://img.shields.io/badge/%F0%9F%A4%97%20Discuss-%23097EFF?style=flat&logoColor=black"></a>
25
  </div>
26
 
27
+ This custom component for Gradio displays Motion Canvas projects in the browser. Motion Canvas is a library for generating animations, videos, or presentations via the Canvas API. All animations are defined by code - an excellent playground for AI agents. An exemplary demo for this component is available in this Huggingface Space: https://huggingface.co/spaces/prathje/gradio_motioncanvasplayer. The source code for the included project can be found at: https://github.com/prathje/gradio-motion-canvas-example.
28
  """, elem_classes=["md-custom"], header_links=True)
29
  app.render()
30
  gr.Markdown(
src/README.md CHANGED
@@ -10,11 +10,9 @@ app_file: space.py
10
  ---
11
 
12
  # `gradio_motioncanvasplayer`
13
- <a href="https://pypi.org/project/gradio_motioncanvasplayer/" target="_blank"><img alt="PyPI - Version" src="https://img.shields.io/pypi/v/gradio_motioncanvasplayer"></a>
14
 
15
- This custom component for [Gradio](https://www.gradio.app/) displays Motion Canvas projects directly in the browser. [Motion Canvas](https://motioncanvas.io/) is a library for generating animations, videos or presentations via the Canvas API. All animations are defined by code - a great playground for AI agents.
16
- An exemplary demo for this component is available in this [Huggingface Space](https://huggingface.co/spaces/prathje/gradio_motioncanvasplayer).
17
- The source code for the included project can be found at [https://github.com/prathje/gradio-motion-canvas-example](https://github.com/prathje/gradio-motion-canvas-example).
18
 
19
  ## Installation
20
 
 
10
  ---
11
 
12
  # `gradio_motioncanvasplayer`
13
+ <a href="https://pypi.org/project/gradio_motioncanvasplayer/" target="_blank"><img alt="PyPI - Version" src="https://img.shields.io/pypi/v/gradio_motioncanvasplayer"></a> <a href="https://github.com/prathje/gradio-motioncanvasplayer/issues" target="_blank"><img alt="Static Badge" src="https://img.shields.io/badge/Issues-white?logo=github&logoColor=black"></a> <a href="https://huggingface.co/spaces/prathje/gradio_motioncanvasplayer/discussions" target="_blank"><img alt="Static Badge" src="https://img.shields.io/badge/%F0%9F%A4%97%20Discuss-%23097EFF?style=flat&logoColor=black"></a>
14
 
15
+ This custom component for Gradio displays Motion Canvas projects in the browser. Motion Canvas is a library for generating animations, videos, or presentations via the Canvas API. All animations are defined by code - an excellent playground for AI agents. An exemplary demo for this component is available in this Huggingface Space: https://huggingface.co/spaces/prathje/gradio_motioncanvasplayer. The source code for the included project can be found at: https://github.com/prathje/gradio-motion-canvas-example.
 
 
16
 
17
  ## Installation
18
 
src/demo/space.py CHANGED
@@ -21,10 +21,10 @@ with gr.Blocks(
21
  # `gradio_motioncanvasplayer`
22
 
23
  <div style="display: flex; gap: 7px;">
24
- <a href="https://pypi.org/project/gradio_motioncanvasplayer/" target="_blank"><img alt="PyPI - Version" src="https://img.shields.io/pypi/v/gradio_motioncanvasplayer"></a>
25
  </div>
26
 
27
- Motion Canvas Player to render Motion Canvas projects
28
  """, elem_classes=["md-custom"], header_links=True)
29
  app.render()
30
  gr.Markdown(
 
21
  # `gradio_motioncanvasplayer`
22
 
23
  <div style="display: flex; gap: 7px;">
24
+ <a href="https://pypi.org/project/gradio_motioncanvasplayer/" target="_blank"><img alt="PyPI - Version" src="https://img.shields.io/pypi/v/gradio_motioncanvasplayer"></a> <a href="https://github.com/prathje/gradio-motioncanvasplayer/issues" target="_blank"><img alt="Static Badge" src="https://img.shields.io/badge/Issues-white?logo=github&logoColor=black"></a> <a href="https://huggingface.co/spaces/prathje/gradio_motioncanvasplayer/discussions" target="_blank"><img alt="Static Badge" src="https://img.shields.io/badge/%F0%9F%A4%97%20Discuss-%23097EFF?style=flat&logoColor=black"></a>
25
  </div>
26
 
27
+ This custom component for Gradio displays Motion Canvas projects in the browser. Motion Canvas is a library for generating animations, videos, or presentations via the Canvas API. All animations are defined by code - an excellent playground for AI agents. An exemplary demo for this component is available in this Huggingface Space: https://huggingface.co/spaces/prathje/gradio_motioncanvasplayer. The source code for the included project can be found at: https://github.com/prathje/gradio-motion-canvas-example.
28
  """, elem_classes=["md-custom"], header_links=True)
29
  app.render()
30
  gr.Markdown(
src/pyproject.toml CHANGED
@@ -8,12 +8,12 @@ build-backend = "hatchling.build"
8
 
9
  [project]
10
  name = "gradio_motioncanvasplayer"
11
- version = "0.0.1"
12
- description = "Motion Canvas Player to render Motion Canvas projects"
13
  readme = "README.md"
14
  license = "mit"
15
  requires-python = ">=3.10"
16
- authors = [{ name = "YOUR NAME", email = "YOUREMAIL@domain.com" }]
17
  keywords = ["gradio-custom-component", "gradio-template-HTML", "Motion Canvas", "Animation", "Player"]
18
  # Add dependencies here
19
  dependencies = ["gradio>=4.0,<6.0"]
@@ -37,15 +37,15 @@ classifiers = [
37
  # This will make it easy for people to find your deployed demo or source code when they
38
  # encounter your project in the wild.
39
 
40
- # [project.urls]
41
- # repository = "your github repository"
42
- # space = "your space url"
43
 
44
  [project.optional-dependencies]
45
  dev = ["build", "twine"]
46
 
47
  [tool.hatch.build]
48
- artifacts = ["/backend/gradio_motioncanvasplayer/templates", "*.pyi", "/Users/pr/.pyenv/versions/3.10.17/lib/python3.10/site-packages/gradio_motioncanvasplayer/templates"]
49
 
50
  [tool.hatch.build.targets.wheel]
51
  packages = ["/backend/gradio_motioncanvasplayer"]
 
8
 
9
  [project]
10
  name = "gradio_motioncanvasplayer"
11
+ version = "0.0.2"
12
+ description = "This custom component for Gradio displays Motion Canvas projects in the browser. Motion Canvas is a library for generating animations, videos, or presentations via the Canvas API. All animations are defined by code - an excellent playground for AI agents. An exemplary demo for this component is available in this Huggingface Space: https://huggingface.co/spaces/prathje/gradio_motioncanvasplayer. The source code for the included project can be found at: https://github.com/prathje/gradio-motion-canvas-example."
13
  readme = "README.md"
14
  license = "mit"
15
  requires-python = ">=3.10"
16
+ authors = [{ name = "Patrick Rathje", email = "info@patrickrathje.de" }]
17
  keywords = ["gradio-custom-component", "gradio-template-HTML", "Motion Canvas", "Animation", "Player"]
18
  # Add dependencies here
19
  dependencies = ["gradio>=4.0,<6.0"]
 
37
  # This will make it easy for people to find your deployed demo or source code when they
38
  # encounter your project in the wild.
39
 
40
+ [project.urls]
41
+ repository = "https://github.com/prathje/gradio-motioncanvasplayer"
42
+ space = "https://huggingface.co/spaces/prathje/gradio_motioncanvasplayer"
43
 
44
  [project.optional-dependencies]
45
  dev = ["build", "twine"]
46
 
47
  [tool.hatch.build]
48
+ artifacts = ["/backend/gradio_motioncanvasplayer/templates", "*.pyi"]
49
 
50
  [tool.hatch.build.targets.wheel]
51
  packages = ["/backend/gradio_motioncanvasplayer"]