main file for web

This commit is contained in:
Dantenerosas 2023-09-20 15:00:41 +03:00
parent 6d08b7a4a0
commit 911d32cdab
2 changed files with 2 additions and 2 deletions

1
main_web.py Normal file
View File

@ -0,0 +1 @@
import src.web.main

View File

@ -93,5 +93,4 @@ async def download_video(file_path):
return StreamingResponse(iterfile(), media_type="video/mp4") return StreamingResponse(iterfile(), media_type="video/mp4")
if __name__ == '__main__':
uvicorn.run("src.web.main:app", host="localhost", log_level="info") uvicorn.run("src.web.main:app", host="localhost", log_level="info")