Divyansh12 commited on
Commit
a94df45
·
verified ·
1 Parent(s): 554f282

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -0
app.py CHANGED
@@ -6,6 +6,11 @@ from sentence_transformers import SentenceTransformer
6
  from scrapegraphai.graphs import SmartScraperMultiGraph
7
  from langchain_groq import ChatGroq
8
 
 
 
 
 
 
9
  # Apply nest_asyncio to allow nested event loops
10
  nest_asyncio.apply()
11
 
 
6
  from scrapegraphai.graphs import SmartScraperMultiGraph
7
  from langchain_groq import ChatGroq
8
 
9
+ import os
10
+
11
+ # Ensure that Playwright is installed and browsers are set up
12
+ os.system("playwright install")
13
+
14
  # Apply nest_asyncio to allow nested event loops
15
  nest_asyncio.apply()
16