OuroborosM commited on
Commit
b61570d
·
1 Parent(s): 2bd6776

update llm timing

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -156,12 +156,12 @@ async def start_playwright(question: str):
156
  # browser = await pw.webkit.launch(headless=True)
157
  page = await browser.new_page()
158
 
159
- start_t = end_t
160
  # note all methods are async (use the "await" keyword)
161
  await page.goto("https://basicchatbot.azurewebsites.net/")
162
  # print("Title of Web: ", await page.title())
163
  end_t = time.time()
164
  print("New Page Done:", end_t - start_t)
 
165
  await page.wait_for_timeout(200)
166
  # print("Content of Web: ", await page.content())
167
  # print("Test content: ", await page.locator("//div[@class='css-zt5igj e1nzilvr3']").inner_html())
 
156
  # browser = await pw.webkit.launch(headless=True)
157
  page = await browser.new_page()
158
 
 
159
  # note all methods are async (use the "await" keyword)
160
  await page.goto("https://basicchatbot.azurewebsites.net/")
161
  # print("Title of Web: ", await page.title())
162
  end_t = time.time()
163
  print("New Page Done:", end_t - start_t)
164
+ start_t = end_t
165
  await page.wait_for_timeout(200)
166
  # print("Content of Web: ", await page.content())
167
  # print("Test content: ", await page.locator("//div[@class='css-zt5igj e1nzilvr3']").inner_html())