vi108 commited on
Commit
015d1b7
·
verified ·
1 Parent(s): 9b57975

Update src/streamlit_app.py

Browse files
Files changed (1) hide show
  1. src/streamlit_app.py +2 -2
src/streamlit_app.py CHANGED
@@ -75,9 +75,9 @@ text_field = "text" if "text" in data.features else list(data.features.keys())[0
75
 
76
 
77
  @st.cache_data(show_spinner=False)
78
- def prepare_combined_texts(dataset):
79
  combined = []
80
- for gc, c in zip(dataset["general_complaint"], dataset["complaints"]):
81
  gc_str = gc if gc else ""
82
  c_str = c if c else ""
83
  combined.append(f"General complaint: {gc_str}. Additional details: {c_str}")
 
75
 
76
 
77
  @st.cache_data(show_spinner=False)
78
+ def prepare_combined_texts(_dataset):
79
  combined = []
80
+ for gc, c in zip(_dataset["general_complaint"], _dataset["complaints"]):
81
  gc_str = gc if gc else ""
82
  c_str = c if c else ""
83
  combined.append(f"General complaint: {gc_str}. Additional details: {c_str}")