Spaces:
Runtime error
Runtime error
sivan22
commited on
Commit
·
c17b20d
1
Parent(s):
422aa66
drop embeddings
Browse files
app.py
CHANGED
@@ -117,7 +117,6 @@ def run():
|
|
117 |
|
118 |
|
119 |
if (st.button('חפש') or user_input) and user_input!="" and df is not None:
|
120 |
-
|
121 |
|
122 |
results = get_results(embeddings_model,user_input,df,num_of_results)
|
123 |
|
@@ -131,7 +130,7 @@ def run():
|
|
131 |
st.write(llm_results)
|
132 |
|
133 |
else:
|
134 |
-
st.write(results.head(10))
|
135 |
|
136 |
|
137 |
if __name__ == "__main__":
|
|
|
117 |
|
118 |
|
119 |
if (st.button('חפש') or user_input) and user_input!="" and df is not None:
|
|
|
120 |
|
121 |
results = get_results(embeddings_model,user_input,df,num_of_results)
|
122 |
|
|
|
130 |
st.write(llm_results)
|
131 |
|
132 |
else:
|
133 |
+
st.write(results['text'].head(10))
|
134 |
|
135 |
|
136 |
if __name__ == "__main__":
|