Spaces:
Runtime error
Runtime error
Tyler Burns
commited on
Commit
•
6a979ff
1
Parent(s):
e9323d3
debugging the runtime error
Browse files
app.py
CHANGED
@@ -12,7 +12,7 @@ question = st.text_input('Ask Marcus Aurelius a question')
|
|
12 |
dat = pd.read_csv('meditations_processed.csv')
|
13 |
space = pd.read_csv('sentence_embeddings.csv')
|
14 |
|
15 |
-
# For update function
|
16 |
model_name = 'all-mpnet-base-v2'
|
17 |
model = SentenceTransformer(model_name)
|
18 |
|
@@ -40,4 +40,4 @@ def update_table(value):
|
|
40 |
|
41 |
|
42 |
final = update_table(question)
|
43 |
-
st.table(final)
|
|
|
12 |
dat = pd.read_csv('meditations_processed.csv')
|
13 |
space = pd.read_csv('sentence_embeddings.csv')
|
14 |
|
15 |
+
# For the update function
|
16 |
model_name = 'all-mpnet-base-v2'
|
17 |
model = SentenceTransformer(model_name)
|
18 |
|
|
|
40 |
|
41 |
|
42 |
final = update_table(question)
|
43 |
+
st.table(final)
|