main file for web
This commit is contained in:
		
							
								
								
									
										1
									
								
								main_web.py
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								main_web.py
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1 @@
 | 
				
			|||||||
 | 
					import src.web.main
 | 
				
			||||||
@@ -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")
 | 
					 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user