Spaces:
Build error
Build error
Vo Minh Vu commited on
Commit Β·
7163e07
1
Parent(s): 534a91c
refactor: move app.py to root and rename app directory to src
Browse files- .DS_Store +1 -1
- app.py +1 -1
- run.py +0 -4
- {app β src}/__init__.py +0 -0
- {app β src}/api/__init__.py +0 -0
- {app β src}/api/endpoints.py +0 -0
- {app β src}/core/__init__.py +0 -0
- {app β src}/core/config.py +0 -0
- {app β src}/main.py +0 -0
- {app β src}/schemas/__init__.py +0 -0
- {app β src}/schemas/request.py +0 -0
- {app β src}/services/__init__.py +0 -0
- {app β src}/services/reconstruction.py +0 -0
.DS_Store
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 6148
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:49d83875cd4f59e6c49f069e7992abf6b79ed9718445af98ff61abcf494c5f0f
|
| 3 |
size 6148
|
app.py
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
import uvicorn
|
| 2 |
from fastapi import FastAPI
|
| 3 |
from fastapi.middleware.cors import CORSMiddleware
|
| 4 |
-
from
|
| 5 |
|
| 6 |
app = FastAPI(
|
| 7 |
title="TripoSR API",
|
|
|
|
| 1 |
import uvicorn
|
| 2 |
from fastapi import FastAPI
|
| 3 |
from fastapi.middleware.cors import CORSMiddleware
|
| 4 |
+
from api.endpoints import router as api_router
|
| 5 |
|
| 6 |
app = FastAPI(
|
| 7 |
title="TripoSR API",
|
run.py
DELETED
|
@@ -1,4 +0,0 @@
|
|
| 1 |
-
import uvicorn
|
| 2 |
-
|
| 3 |
-
if __name__ == "__main__":
|
| 4 |
-
uvicorn.run("app.main:app", host="0.0.0.0", port=7860)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{app β src}/__init__.py
RENAMED
|
File without changes
|
{app β src}/api/__init__.py
RENAMED
|
File without changes
|
{app β src}/api/endpoints.py
RENAMED
|
File without changes
|
{app β src}/core/__init__.py
RENAMED
|
File without changes
|
{app β src}/core/config.py
RENAMED
|
File without changes
|
{app β src}/main.py
RENAMED
|
File without changes
|
{app β src}/schemas/__init__.py
RENAMED
|
File without changes
|
{app β src}/schemas/request.py
RENAMED
|
File without changes
|
{app β src}/services/__init__.py
RENAMED
|
File without changes
|
{app β src}/services/reconstruction.py
RENAMED
|
File without changes
|