Spaces:
Running
Running
bibliotecadebabel
commited on
Commit
•
bef52ac
1
Parent(s):
b1179cf
drop extra columns
Browse files
app.py
CHANGED
@@ -119,6 +119,7 @@ if st.button('Search'):
|
|
119 |
results_df = df_filtered.iloc[top_ids].copy()
|
120 |
results_df['rank'] = (np.arange(len(results_df)) + 1)
|
121 |
|
|
|
122 |
st.write(results_df)
|
123 |
else:
|
124 |
-
st.write("Please enter a query to search.")
|
|
|
119 |
results_df = df_filtered.iloc[top_ids].copy()
|
120 |
results_df['rank'] = (np.arange(len(results_df)) + 1)
|
121 |
|
122 |
+
results_df = search_utils.drop_columns(results_df, programmatic_search_config)
|
123 |
st.write(results_df)
|
124 |
else:
|
125 |
+
st.write("Please enter a query to search.")
|