main file for web

This commit is contained in:
nikili0n 2023-09-20 15:00:41 +03:00 committed by Dantenerosas
parent a672d2e421
commit 1fea12fc29
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")