Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -158,7 +158,7 @@ if uploaded_files:
|
|
158 |
chunkdf = []
|
159 |
for i, chunk in enumerate(text_chunk):
|
160 |
inp = chunk
|
161 |
-
st.write(tablex_chain.run(inp)[0])
|
162 |
df = pd.DataFrame(literal_eval(str(json.dumps(tablex_chain.run(inp)[0])).replace("\'", '\"')), index=[0]).fillna('')
|
163 |
# df = pd.DataFrame(repair_json(tablex_chain.run(inp)[0]))
|
164 |
chunkdf.append(df)
|
|
|
158 |
chunkdf = []
|
159 |
for i, chunk in enumerate(text_chunk):
|
160 |
inp = chunk
|
161 |
+
st.write(literal_eval(str(json.dumps(tablex_chain.run(inp)[0]))))
|
162 |
df = pd.DataFrame(literal_eval(str(json.dumps(tablex_chain.run(inp)[0])).replace("\'", '\"')), index=[0]).fillna('')
|
163 |
# df = pd.DataFrame(repair_json(tablex_chain.run(inp)[0]))
|
164 |
chunkdf.append(df)
|