Spaces:
Runtime error
Runtime error
Commit
·
90bffa6
1
Parent(s):
3144a06
update GPT4 endpoint
Browse files
app.py
CHANGED
@@ -241,7 +241,7 @@ async def start_playwright(question: str):
|
|
241 |
page = await browser.new_page()
|
242 |
|
243 |
# note all methods are async (use the "await" keyword)
|
244 |
-
await page.goto(
|
245 |
# print("Title of Web: ", await page.title())
|
246 |
end_t = time.time()
|
247 |
print("New Page Done:", end_t - start_t)
|
|
|
241 |
page = await browser.new_page()
|
242 |
|
243 |
# note all methods are async (use the "await" keyword)
|
244 |
+
await page.goto(os.environ["Endpoint_GPT4"])
|
245 |
# print("Title of Web: ", await page.title())
|
246 |
end_t = time.time()
|
247 |
print("New Page Done:", end_t - start_t)
|