Spaces:
Sleeping
Sleeping
Commit
·
248fea5
1
Parent(s):
9719550
Update app/main.py
Browse files- app/main.py +2 -2
app/main.py
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
from fastapi import FastAPI, UploadFile
|
2 |
from pydantic import BaseModel
|
3 |
-
from .functions import handle_url
|
4 |
|
5 |
|
6 |
class VideoURL(BaseModel):
|
@@ -15,7 +15,7 @@ app = FastAPI()
|
|
15 |
|
16 |
@app.get("/")
|
17 |
async def main():
|
18 |
-
return
|
19 |
|
20 |
|
21 |
@app.post("/synthesize_video_url")
|
|
|
1 |
from fastapi import FastAPI, UploadFile
|
2 |
from pydantic import BaseModel
|
3 |
+
from .functions import handle_url, get_health
|
4 |
|
5 |
|
6 |
class VideoURL(BaseModel):
|
|
|
15 |
|
16 |
@app.get("/")
|
17 |
async def main():
|
18 |
+
return get_health()
|
19 |
|
20 |
|
21 |
@app.post("/synthesize_video_url")
|