acecalisto3 commited on
Commit
9951e4e
·
verified ·
1 Parent(s): 10e82ca

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -1
app.py CHANGED
@@ -16,6 +16,15 @@ import datetime
16
  import feedparser
17
  from huggingface_hub import InferenceClient
18
  import validators
 
 
 
 
 
 
 
 
 
19
 
20
  # Load environment variables
21
  load_dotenv()
@@ -212,4 +221,4 @@ feed_timer.start()
212
  feed_timer.attach(update_feed_content, output_names="output")
213
 
214
  if __name__ == "__main__":
215
- demo.launch()
 
16
  import feedparser
17
  from huggingface_hub import InferenceClient
18
  import validators
19
+ from selenium import webdriver
20
+ from selenium.webdriver.chrome.service import Service
21
+ from selenium.webdriver.chrome.options import Options
22
+ from selenium.webdriver.common.by import By
23
+ from selenium.common.exceptions import (WebDriverException,
24
+ NoSuchElementException,
25
+ TimeoutException,
26
+ StaleElementReferenceException)
27
+ from webdriver_manager.chrome import ChromeDriverManager
28
 
29
  # Load environment variables
30
  load_dotenv()
 
221
  feed_timer.attach(update_feed_content, output_names="output")
222
 
223
  if __name__ == "__main__":
224
+ demo.launch()