Arafath10 commited on
Commit
928c55d
1 Parent(s): e11e884

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +4 -3
main.py CHANGED
@@ -1,4 +1,7 @@
1
  from fastapi import FastAPI, File, UploadFile, HTTPException
 
 
 
2
  from fastapi.responses import HTMLResponse
3
  from fastapi.responses import StreamingResponse
4
  from fastapi.responses import FileResponse
@@ -18,9 +21,7 @@ app.add_middleware(
18
  allow_headers=["*"],
19
  )
20
 
21
- import nest_asyncio
22
- import asyncio
23
- from playwright.async_api import async_playwright
24
 
25
  # Apply nest_asyncio to allow nested asyncio.run() calls
26
  nest_asyncio.apply()
 
1
  from fastapi import FastAPI, File, UploadFile, HTTPException
2
+ import nest_asyncio
3
+ import asyncio
4
+ from playwright.async_api import async_playwright
5
  from fastapi.responses import HTMLResponse
6
  from fastapi.responses import StreamingResponse
7
  from fastapi.responses import FileResponse
 
21
  allow_headers=["*"],
22
  )
23
 
24
+
 
 
25
 
26
  # Apply nest_asyncio to allow nested asyncio.run() calls
27
  nest_asyncio.apply()