cd14 commited on
Commit
cfec95f
·
1 Parent(s): 7a0f622

adding rayan prompt

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -499,11 +499,12 @@ if st.session_state.get('button') == True:
499
  # st.write("\n")
500
  chars_out = dict(zip(chars, sel_var_values))
501
  sorted_chars_out = sorted(chars_out.items(), key=lambda x: x[1], reverse=True)
502
- prefrence_variables=res=["charcter counts: "+str(x)+", Target Rate: "+str(y) for x,y in zip(chars,sel_var_values)]
 
503
  preference = st.selectbox(
504
  'Please select your preferences',
505
  prefrence_variables,
506
- index=1
507
  )
508
  options = st.multiselect(
509
  'Select propmts you want to use to generate your email:',
 
499
  # st.write("\n")
500
  chars_out = dict(zip(chars, sel_var_values))
501
  sorted_chars_out = sorted(chars_out.items(), key=lambda x: x[1], reverse=True)
502
+ prefrence_variables=["charcter counts: "+str(x)+", Target Rate: "+str(y) for x,y in zip(chars,sel_var_values)]
503
+ prefrence_variables=['']+prefrence_variables
504
  preference = st.selectbox(
505
  'Please select your preferences',
506
  prefrence_variables,
507
+ index=0
508
  )
509
  options = st.multiselect(
510
  'Select propmts you want to use to generate your email:',