Spaces:
Runtime error
Runtime error
johnowhitaker
commited on
Commit
•
764af30
1
Parent(s):
115ff0b
Update app.py
Browse files
app.py
CHANGED
@@ -23,8 +23,6 @@ def timeout(max_timeout):
|
|
23 |
|
24 |
# nest_asyncio.apply()
|
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
|
|
|
23 |
|
24 |
# nest_asyncio.apply()
|
25 |
|
|
|
|
|
26 |
@timeout(120.0)
|
27 |
def get_tweets(username, limit=500, save_name=None):
|
28 |
#nest_asyncio.apply() # Helps avoid RuntimeError: This event loop is already running
|