Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -68,7 +68,7 @@ def main():
|
|
68 |
|
69 |
if user_input:
|
70 |
# Generate response
|
71 |
-
docs =
|
72 |
|
73 |
# Display response
|
74 |
st.text_area("ChatGPT Response:", response, height=100)
|
|
|
68 |
|
69 |
if user_input:
|
70 |
# Generate response
|
71 |
+
docs = index.similarity_search(user_input)
|
72 |
|
73 |
# Display response
|
74 |
st.text_area("ChatGPT Response:", response, height=100)
|