Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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()
|