Skip to content

Commit

Permalink
changing labels
Browse files Browse the repository at this point in the history
  • Loading branch information
dayesouza committed Nov 8, 2024
1 parent 3553a8f commit d08931a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/workflows/query_text_data/workflow.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ async def create(sv: SessionVariables, workflow=None):
)
else:
file_chunks = st.file_uploader(
"Upload processed files",
"Upload processed chunks",
type=["csv"],
key="chunk_uploader_" + st.session_state[f"{workflow}_uploader_index"],
)
Expand Down Expand Up @@ -137,8 +137,8 @@ async def create(sv: SessionVariables, workflow=None):

if qtd.label_to_chunks and upload_type == "Raw files":
st.download_button(
label="Download processed data",
help="Download the processed data as a CSV file to reuse later.",
label="Download chunk data",
help="Export chunk data as CSV",
data=qtd.get_chunks_as_df().to_csv(),
file_name=f"processed_data_{len(qtd.label_to_chunks)}_query_text.csv",
mime="text/csv",
Expand Down

0 comments on commit d08931a

Please sign in to comment.