Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
change file directories
Browse files
pages/Multimodal_Conversational_Search.py
CHANGED
@@ -269,7 +269,7 @@ def render_answer(question,answer,index,res_img):
|
|
269 |
if(len(answer["table"] )>0):
|
270 |
#with st.expander("Table:"):
|
271 |
for table in answer["table"]:
|
272 |
-
df = pd.read_csv(table['name'],skipinitialspace = True, on_bad_lines='skip',delimiter='`')
|
273 |
df.fillna(method='pad', inplace=True)
|
274 |
st.table(df)
|
275 |
#with st.expander("Raw sources:"):
|
|
|
269 |
if(len(answer["table"] )>0):
|
270 |
#with st.expander("Table:"):
|
271 |
for table in answer["table"]:
|
272 |
+
df = pd.read_csv(table['name'].replace('/home/user/app/','/data/app_bkp/'),skipinitialspace = True, on_bad_lines='skip',delimiter='`')
|
273 |
df.fillna(method='pad', inplace=True)
|
274 |
st.table(df)
|
275 |
#with st.expander("Raw sources:"):
|