Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -8,6 +8,6 @@ index = GPTSimpleVectorIndex.load_from_disk('index-4.json')
|
|
| 8 |
# Define the app layout
|
| 9 |
st.title('GPT Search')
|
| 10 |
query = st.text_input('Enter a query:')
|
| 11 |
-
if query:
|
| 12 |
result = index.query(query)
|
| 13 |
st.write(result)
|
|
|
|
| 8 |
# Define the app layout
|
| 9 |
st.title('GPT Search')
|
| 10 |
query = st.text_input('Enter a query:')
|
| 11 |
+
if query:
|
| 12 |
result = index.query(query)
|
| 13 |
st.write(result)
|