Update app.py
Browse files
app.py
CHANGED
@@ -39,8 +39,8 @@ if (token != '' and KG_name != ""):
|
|
39 |
with st.form("my_form"):
|
40 |
user_query = st.text_input("Ask the KG ','")
|
41 |
|
42 |
-
|
43 |
-
if
|
44 |
res = query_model(index,user_query)
|
45 |
st.write(res)
|
46 |
|
|
|
39 |
with st.form("my_form"):
|
40 |
user_query = st.text_input("Ask the KG ','")
|
41 |
|
42 |
+
new_submitted = st.form_submit_button("Submit")
|
43 |
+
if new_submitted:
|
44 |
res = query_model(index,user_query)
|
45 |
st.write(res)
|
46 |
|