Vageesh1 commited on
Commit
b178218
·
1 Parent(s): b5c9a09

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -19,7 +19,7 @@ trait_content_df['Title'].fillna(method='ffill',inplace=True)
19
  trait_content_df['Question'].fillna(method='ffill',inplace=True)
20
 
21
  template = """
22
- Generate a unique dating app fun bio for the user based on their chosen options and detected personality traits. Craft distinctive responses for each user, even if the prompts are similar. Avoid using the same sentences for different users while keeping the response within 100 words.
23
  {history}
24
  Me:{human_input}
25
  Jack:
@@ -111,7 +111,7 @@ def ui():
111
  traits_list.append(matching_rows["Traits"].values[0])
112
  content_list.append(matching_rows["Content"].values[0])
113
 
114
- prompt = f"Options selected are {', '.join(options_list)}. The following are Traits {{{', '.join(traits_list)}}}, and the content for the options is {', '.join(content_list)}"
115
 
116
  # Display user input field
117
  name_input = st.text_input("Enter your name:")
 
19
  trait_content_df['Question'].fillna(method='ffill',inplace=True)
20
 
21
  template = """
22
+ Generate a unique dating app fun bio for the user based upon detected personality traits. Craft distinctive responses for each user based on traits and refer from the content provided, even if the prompts are similar. Avoid using the same sentences for different users while keeping the response within 100 words.
23
  {history}
24
  Me:{human_input}
25
  Jack:
 
111
  traits_list.append(matching_rows["Traits"].values[0])
112
  content_list.append(matching_rows["Content"].values[0])
113
 
114
+ prompt = f"Options selected are { The following are Traits {{{', '.join(traits_list)}}}, and the content for the options is {', '.join(content_list)}"
115
 
116
  # Display user input field
117
  name_input = st.text_input("Enter your name:")