Spaces:
Runtime error
Runtime error
pi194046
commited on
Commit
•
1497923
1
Parent(s):
3cb2d81
requirements.txt
Browse files
app.py
CHANGED
@@ -215,8 +215,8 @@ with tab3:
|
|
215 |
|
216 |
# Convert the list of dictionaries to a DataFrame
|
217 |
df = pd.DataFrame(data)
|
218 |
-
st.dataframe(df)
|
219 |
-
df["page_content"]=df["page_content"].str.split('
|
220 |
df = df["page_content"]
|
221 |
|
222 |
# Display the DataFrame in Streamlit as an interactive dataframe
|
|
|
215 |
|
216 |
# Convert the list of dictionaries to a DataFrame
|
217 |
df = pd.DataFrame(data)
|
218 |
+
#st.dataframe(df)
|
219 |
+
df["page_content"]=df["page_content"].str.split('#####',n=1).str[1].str.strip()
|
220 |
df = df["page_content"]
|
221 |
|
222 |
# Display the DataFrame in Streamlit as an interactive dataframe
|