menikev commited on
Commit
76ac193
·
verified ·
1 Parent(s): c7a29f1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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 = crypto_crew.run()
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")