Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -6,7 +6,7 @@ from gpt_index import GPTSimpleVectorIndex
|
|
| 6 |
index = GPTSimpleVectorIndex.load_from_disk('index-4.json')
|
| 7 |
|
| 8 |
# Define the app layout
|
| 9 |
-
st.title('Ask Patrick Collison Anything
|
| 10 |
header = st.container()
|
| 11 |
with header:
|
| 12 |
st.image('https://c1.thejournal.ie/media/2012/02/PCI-3-PATRICK-COLLISS00078736-752x501.jpg', width=376)
|
|
@@ -14,4 +14,4 @@ with header:
|
|
| 14 |
query = st.text_input('Enter a query:')
|
| 15 |
if query:
|
| 16 |
result = index.query(query)
|
| 17 |
-
st.write(result)
|
|
|
|
| 6 |
index = GPTSimpleVectorIndex.load_from_disk('index-4.json')
|
| 7 |
|
| 8 |
# Define the app layout
|
| 9 |
+
st.title('Ask Patrick Collison Anything')
|
| 10 |
header = st.container()
|
| 11 |
with header:
|
| 12 |
st.image('https://c1.thejournal.ie/media/2012/02/PCI-3-PATRICK-COLLISS00078736-752x501.jpg', width=376)
|
|
|
|
| 14 |
query = st.text_input('Enter a query:')
|
| 15 |
if query:
|
| 16 |
result = index.query(query)
|
| 17 |
+
st.write(result)
|