Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Update appStore/prep_utils.py
Browse files- appStore/prep_utils.py +1 -1
appStore/prep_utils.py
CHANGED
@@ -22,7 +22,7 @@ def create_documents(df, text_column):
|
|
22 |
metadata = {col: str(df.loc[i, col]) for col in list(set(df.columns) - {text_column})}
|
23 |
placeholder.append(Document(page_content= df.loc[i,text_column],
|
24 |
metadata=metadata))
|
25 |
-
return
|
26 |
|
27 |
@st.cache_resource
|
28 |
def get_client():
|
|
|
22 |
metadata = {col: str(df.loc[i, col]) for col in list(set(df.columns) - {text_column})}
|
23 |
placeholder.append(Document(page_content= df.loc[i,text_column],
|
24 |
metadata=metadata))
|
25 |
+
return placeholder
|
26 |
|
27 |
@st.cache_resource
|
28 |
def get_client():
|