Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -149,7 +149,7 @@ def fetch_data(selected_category):
|
|
| 149 |
loop = asyncio.new_event_loop()
|
| 150 |
asyncio.set_event_loop(loop)
|
| 151 |
with st.status("Running Parsing..."):
|
| 152 |
-
|
| 153 |
st.dataframe(result_df)
|
| 154 |
|
| 155 |
if __name__ == "__main__":
|
|
|
|
| 149 |
loop = asyncio.new_event_loop()
|
| 150 |
asyncio.set_event_loop(loop)
|
| 151 |
with st.status("Running Parsing..."):
|
| 152 |
+
result_df = loop.run_until_complete(get_channels_by_category(selected_category))
|
| 153 |
st.dataframe(result_df)
|
| 154 |
|
| 155 |
if __name__ == "__main__":
|