Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -9,7 +9,7 @@ crypto = st.text_input("Enter the cryptocurrency you want to analyze:")
|
|
| 9 |
if st.button("Analyze"):
|
| 10 |
with st.spinner("Analyzing... This may take a few minutes."):
|
| 11 |
crypto_crew = CryptoCrew(crypto)
|
| 12 |
-
result =
|
| 13 |
|
| 14 |
# Display summary
|
| 15 |
st.subheader("Analysis Summary")
|
|
|
|
| 9 |
if st.button("Analyze"):
|
| 10 |
with st.spinner("Analyzing... This may take a few minutes."):
|
| 11 |
crypto_crew = CryptoCrew(crypto)
|
| 12 |
+
result = asyncio.run(crypto_crew.run_async())
|
| 13 |
|
| 14 |
# Display summary
|
| 15 |
st.subheader("Analysis Summary")
|