diff --git a/main_web.py b/main_web.py new file mode 100644 index 0000000..dee4bf3 --- /dev/null +++ b/main_web.py @@ -0,0 +1 @@ +import src.web.main \ No newline at end of file diff --git a/src/web/main.py b/src/web/main.py index ff7d8af..eb6db23 100644 --- a/src/web/main.py +++ b/src/web/main.py @@ -93,5 +93,4 @@ async def download_video(file_path): 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")