Spaces:
Runtime error
Runtime error
Timothyxxx
commited on
Commit
·
3c9a2ca
1
Parent(s):
da94566
Update app
Browse files
app.py
CHANGED
|
@@ -245,13 +245,14 @@ try:
|
|
| 245 |
st.markdown("on")
|
| 246 |
with col1_5:
|
| 247 |
if i == len(steps) - 1:
|
| 248 |
-
st.metric(label="whole", value="Table", delta
|
| 249 |
else:
|
| 250 |
with open("tmp_for_vis/{}_result_step_{}_input.txt".format(stamp, i), "r") as f:
|
| 251 |
sub_tables_input = json.load(f)
|
| 252 |
for sub_table in sub_tables_input:
|
| 253 |
sub_table_to_print = remove_row_id(sub_table)
|
| 254 |
-
st.dataframe(pd.DataFrame(sub_table_to_print['rows'], columns=sub_table_to_print['header'])
|
|
|
|
| 255 |
with col2:
|
| 256 |
st.markdown('$\\rightarrow$')
|
| 257 |
if i == len(steps) - 1:
|
|
|
|
| 245 |
st.markdown("on")
|
| 246 |
with col1_5:
|
| 247 |
if i == len(steps) - 1:
|
| 248 |
+
st.metric(label="whole", value="Table", delta=None)
|
| 249 |
else:
|
| 250 |
with open("tmp_for_vis/{}_result_step_{}_input.txt".format(stamp, i), "r") as f:
|
| 251 |
sub_tables_input = json.load(f)
|
| 252 |
for sub_table in sub_tables_input:
|
| 253 |
sub_table_to_print = remove_row_id(sub_table)
|
| 254 |
+
st.dataframe(pd.DataFrame(sub_table_to_print['rows'], columns=sub_table_to_print['header']),
|
| 255 |
+
use_container_width=True)
|
| 256 |
with col2:
|
| 257 |
st.markdown('$\\rightarrow$')
|
| 258 |
if i == len(steps) - 1:
|