Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -63,5 +63,8 @@ def index():
|
|
| 63 |
articles = get_rss_articles()
|
| 64 |
return render_template("index.html", articles=articles)
|
| 65 |
|
|
|
|
|
|
|
| 66 |
if __name__ == "__main__":
|
| 67 |
-
|
|
|
|
|
|
| 63 |
articles = get_rss_articles()
|
| 64 |
return render_template("index.html", articles=articles)
|
| 65 |
|
| 66 |
+
|
| 67 |
+
# βββββββββββββββββββ main ββββββββββββββββββββββββββββ
|
| 68 |
if __name__ == "__main__":
|
| 69 |
+
port = int(os.environ.get("PORT", 7860))
|
| 70 |
+
app.run(host="0.0.0.0", port=port)
|