Spaces:
Sleeping
Sleeping
Rivalcoder
commited on
Commit
·
c73c7d8
1
Parent(s):
53f1b1f
Add New Version
Browse files
app.py
CHANGED
|
@@ -164,7 +164,7 @@ class VideoRequest(BaseModel):
|
|
| 164 |
path: str
|
| 165 |
|
| 166 |
# FastAPI endpoint for processing the video file
|
| 167 |
-
@app.post("/
|
| 168 |
async def process_video_request(file: UploadFile = File(...)):
|
| 169 |
try:
|
| 170 |
results = await process_video(file)
|
|
|
|
| 164 |
path: str
|
| 165 |
|
| 166 |
# FastAPI endpoint for processing the video file
|
| 167 |
+
@app.post("/api/video")
|
| 168 |
async def process_video_request(file: UploadFile = File(...)):
|
| 169 |
try:
|
| 170 |
results = await process_video(file)
|