Skip to content

Commit

Permalink
Update prompterator/main.py
Browse files Browse the repository at this point in the history
Co-authored-by: Sam Sucik <[email protected]>
  • Loading branch information
danielajass and samsucik authored Nov 14, 2023
1 parent fbd1620 commit 5380d8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion prompterator/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -457,7 +457,7 @@ def set_up_prompt_attrs_area(st_container):
vars_values = ""
for var in vars:
if var != c.TEXT_ORIG_COL:
vars_values = vars_values + var + ":\n" + " " + st.session_state.row[var] + "\n"
vars_values += var + ":\n " + st.session_state.row.get(var, "none") + "\n"

st_container.text_area(
label=f"Attributes used in a prompt",
Expand Down

0 comments on commit 5380d8b

Please sign in to comment.