Spaces:
Runtime error
Runtime error
Commit
·
dc1bf57
1
Parent(s):
910b282
Update app.py
Browse files
app.py
CHANGED
@@ -25,7 +25,7 @@ def timeout(max_timeout):
|
|
25 |
|
26 |
# Function to make this easy for ourselves:
|
27 |
@st.cache
|
28 |
-
@timeout(
|
29 |
def get_tweets(username, limit=500, save_name=None):
|
30 |
#nest_asyncio.apply() # Helps avoid RuntimeError: This event loop is already running
|
31 |
|
|
|
25 |
|
26 |
# Function to make this easy for ourselves:
|
27 |
@st.cache
|
28 |
+
@timeout(120.0)
|
29 |
def get_tweets(username, limit=500, save_name=None):
|
30 |
#nest_asyncio.apply() # Helps avoid RuntimeError: This event loop is already running
|
31 |
|