deneme
Browse files
app.py
CHANGED
|
@@ -33,5 +33,6 @@ if files:
|
|
| 33 |
st.header("Chatbot")
|
| 34 |
st.subheader("Ask a question")
|
| 35 |
question = st.text_input("Question")
|
| 36 |
-
|
| 37 |
-
|
|
|
|
|
|
| 33 |
st.header("Chatbot")
|
| 34 |
st.subheader("Ask a question")
|
| 35 |
question = st.text_input("Question")
|
| 36 |
+
if question:
|
| 37 |
+
similar_response = db.similarity_search(query=question, k=3)
|
| 38 |
+
st.write(similar_response)
|