Arafath10 commited on
Commit
a6e8718
1 Parent(s): cb2cabb

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +2 -2
main.py CHANGED
@@ -1,14 +1,14 @@
1
  from fastapi import FastAPI, HTTPException
2
  from fastapi.middleware.cors import CORSMiddleware
3
  from scraper import Scraper
4
- import nest_asyncio
5
  import asyncio
6
  from playwright.async_api import async_playwright
7
  from fastapi import FastAPI
8
  import random
9
 
10
  # Allow nested use of asyncio.run() in Jupyter
11
- nest_asyncio.apply()
12
 
13
 
14
  try: from pip._internal.operations import freeze
 
1
  from fastapi import FastAPI, HTTPException
2
  from fastapi.middleware.cors import CORSMiddleware
3
  from scraper import Scraper
4
+ #import nest_asyncio
5
  import asyncio
6
  from playwright.async_api import async_playwright
7
  from fastapi import FastAPI
8
  import random
9
 
10
  # Allow nested use of asyncio.run() in Jupyter
11
+ #nest_asyncio.apply()
12
 
13
 
14
  try: from pip._internal.operations import freeze