Spaces:
Sleeping
Sleeping
Update app.py
#1
by Samuelandrade - opened
101 unmodified lines102103104105106107108109110111112113114115116343 unmodified lines460461462463464101 unmodified linesfor sheet in excel.sheet_names:df = excel.parse(sheet)out += f"\n\n--- ABA: {sheet} ---\n"# transforma linha a linha em texto separadofor _, row in df.iterrows():# remove NaNrow = row.where(pd.notnull(row), "")row_text = " | ".join(str(v) for v in row.values)out += row_text + "\n"return out343 unmodified linesclear_btn.click(clear_qdrant_collection, None, clear_out)demo.launch()101 unmodified lines102103104105106107108109343 unmodified lines453454455101 unmodified linesfor sheet in excel.sheet_names:df = excel.parse(sheet)out += f"\n\n--- ABA: {sheet} ---\n"out += df.to_string(index=False)return out343 unmodified linesclear_btn.click(clear_qdrant_collection, None, clear_out)demo.launch()
app.py+1-10