jonathanjordan21 commited on
Commit
ccd1a73
·
verified ·
1 Parent(s): aa093c2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -28,6 +28,7 @@ app.add_middleware(
28
  )
29
 
30
 
 
31
  def news_details(url: str):
32
  article = newspaper.Article(url)
33
  article.download()
 
28
  )
29
 
30
 
31
+ @app.get("/news_details")
32
  def news_details(url: str):
33
  article = newspaper.Article(url)
34
  article.download()