Update pages/table.py
Browse files- pages/table.py +2 -0
pages/table.py
CHANGED
|
@@ -3,6 +3,7 @@ from datetime import datetime
|
|
| 3 |
import pandas as pd
|
| 4 |
from pathlib import Path
|
| 5 |
import os
|
|
|
|
| 6 |
|
| 7 |
|
| 8 |
st.set_page_config(
|
|
@@ -64,6 +65,7 @@ def delete_row_and_file(index):
|
|
| 64 |
|
| 65 |
# Drop the row from the DataFrame
|
| 66 |
FILES.pop(index)
|
|
|
|
| 67 |
|
| 68 |
def display_table():
|
| 69 |
hide_table_row_index = """
|
|
|
|
| 3 |
import pandas as pd
|
| 4 |
from pathlib import Path
|
| 5 |
import os
|
| 6 |
+
from pages.bot import create_vectorstore_and_stor
|
| 7 |
|
| 8 |
|
| 9 |
st.set_page_config(
|
|
|
|
| 65 |
|
| 66 |
# Drop the row from the DataFrame
|
| 67 |
FILES.pop(index)
|
| 68 |
+
create_vectorstore_and_store()
|
| 69 |
|
| 70 |
def display_table():
|
| 71 |
hide_table_row_index = """
|