Update app.py
Browse files
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
|
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"
|