ajitrajasekharan
commited on
Commit
•
d9f055f
1
Parent(s):
d1b63cc
Update app.py
Browse files
app.py
CHANGED
@@ -89,12 +89,12 @@ def run_test(sent,top_k,model_name):
|
|
89 |
def on_text_change():
|
90 |
|
91 |
text = st.session_state.my_text
|
92 |
-
run_test(text,st.session_state['top_k']
|
93 |
|
94 |
def on_option_change():
|
95 |
|
96 |
text = st.session_state.my_choice
|
97 |
-
run_test(text,st.session_state['top_k']
|
98 |
|
99 |
def on_results_count_change():
|
100 |
|
|
|
89 |
def on_text_change():
|
90 |
|
91 |
text = st.session_state.my_text
|
92 |
+
run_test(text,st.session_state['top_k'],st.session_state['model_name'])
|
93 |
|
94 |
def on_option_change():
|
95 |
|
96 |
text = st.session_state.my_choice
|
97 |
+
run_test(text,st.session_state['top_k'],st.session_state['model_name'])
|
98 |
|
99 |
def on_results_count_change():
|
100 |
|