Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -161,7 +161,7 @@ if uploaded_files:
|
|
161 |
try:
|
162 |
df = pd.DataFrame(literal_eval(str(json.dumps(tablex_chain.run(inp)[0])).replace("\'", '\"')), index=[0]).fillna('')
|
163 |
except:
|
164 |
-
df = pd.DataFrame(literal_eval(str(json.dumps(tablex_chain.run(inp)[0]) + '
|
165 |
# df = pd.DataFrame(repair_json(tablex_chain.run(inp)[0]))
|
166 |
chunkdf.append(df)
|
167 |
|
|
|
161 |
try:
|
162 |
df = pd.DataFrame(literal_eval(str(json.dumps(tablex_chain.run(inp)[0])).replace("\'", '\"')), index=[0]).fillna('')
|
163 |
except:
|
164 |
+
df = pd.DataFrame(literal_eval(str(json.dumps(tablex_chain.run(inp)[0]) + ']').replace("\'", '\"')), index=[0]).fillna('')
|
165 |
# df = pd.DataFrame(repair_json(tablex_chain.run(inp)[0]))
|
166 |
chunkdf.append(df)
|
167 |
|