Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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
|
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 {
|
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:")
|