Spaces:
Runtime error
Runtime error
acecalisto3
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -24,6 +24,9 @@ async def periodic_update():
|
|
24 |
await asyncio.sleep(300) # Wait for 5 minutes
|
25 |
await update_feed_content()
|
26 |
|
|
|
|
|
|
|
27 |
def start_periodic_task():
|
28 |
loop = asyncio.get_event_loop()
|
29 |
if loop.is_running():
|
|
|
24 |
await asyncio.sleep(300) # Wait for 5 minutes
|
25 |
await update_feed_content()
|
26 |
|
27 |
+
async def update_feed_content():
|
28 |
+
return generate_rss_feed()
|
29 |
+
|
30 |
def start_periodic_task():
|
31 |
loop = asyncio.get_event_loop()
|
32 |
if loop.is_running():
|