Andreagus commited on
Commit
894490b
1 Parent(s): 0b7e8c7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -10,7 +10,7 @@ model_selected = st.radio("Choose your model", ["fin_distilBert", "fin_tinyBert"
10
  ticker = st.text_input("Insert the company ticker")
11
 
12
  col1, col2 = st.columns(2)
13
- if model_selected and ticker is not None:
14
 
15
  if model_selected == "fin_distilBert":
16
  model_to_use = "Andreagus/fin_distilbert_16"
 
10
  ticker = st.text_input("Insert the company ticker")
11
 
12
  col1, col2 = st.columns(2)
13
+ if model_selected != None and ticker != None:
14
 
15
  if model_selected == "fin_distilBert":
16
  model_to_use = "Andreagus/fin_distilbert_16"