Andreagus commited on
Commit
78023b4
1 Parent(s): a333d2d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -21,7 +21,8 @@ if model_selected != None and ticker:
21
  if model_selected == "fin_miniLM12":
22
  model_to_use = "Andreagus/fin_miniLM_16"
23
 
24
- results = get_articles_sentiment(ticker, model_to_use)
 
25
 
26
  with col1:
27
  st.text("Bezinga news provider")
 
21
  if model_selected == "fin_miniLM12":
22
  model_to_use = "Andreagus/fin_miniLM_16"
23
 
24
+ with st.spinner("Loading the model"):
25
+ results = get_articles_sentiment(ticker, model_to_use)
26
 
27
  with col1:
28
  st.text("Bezinga news provider")