Sam Fred commited on
Commit
745dedc
·
2 Parent(s): 5d2b48aba522a2

Merge branch 'main' of https://huggingface.co/spaces/Fred808/txt2motion

Browse files
Files changed (2) hide show
  1. README.md +11 -11
  2. app.py +5 -0
README.md CHANGED
@@ -1,11 +1,11 @@
1
- ---
2
- title: Txt2motion
3
- emoji: 🐨
4
- colorFrom: blue
5
- colorTo: pink
6
- sdk: docker
7
- pinned: false
8
- license: mit
9
- ---
10
-
11
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
1
+ ---
2
+ title: Txt2motion
3
+ emoji: 🐨
4
+ colorFrom: blue
5
+ colorTo: pink
6
+ sdk: docker
7
+ pinned: false
8
+ license: mit
9
+ ---
10
+
11
+ Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
app.py CHANGED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ from fastapi import FastAPI
2
+ from api.motion_routes import router as motion_router
3
+
4
+ app = FastAPI(title="AnimPilot Motion API")
5
+ app.include_router(motion_router, prefix="/api")