Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -62,10 +62,7 @@ def main():
|
|
62 |
job_titles = df['job_title'].tolist()
|
63 |
# Prompt inicial
|
64 |
initial_prompt = (""""
|
65 |
-
f"
|
66 |
-
f"Your task is to rank these job titles {job_titles} by their semantic similarity to the given query {query} using the cosine similarity score.\n "
|
67 |
-
f"Create a dataframe called df_2 that includes a column 'titles' with the values of {job_titles} and a new column called 'score' in which you will record the cosine similarity score that you calculated previously.\n"
|
68 |
-
f"Finally, print df_2 in the screen"
|
69 |
"""
|
70 |
)
|
71 |
st.write(f"Query: {query}")
|
|
|
62 |
job_titles = df['job_title'].tolist()
|
63 |
# Prompt inicial
|
64 |
initial_prompt = (""""
|
65 |
+
f"I want you to print the first record of {df} in the screen.
|
|
|
|
|
|
|
66 |
"""
|
67 |
)
|
68 |
st.write(f"Query: {query}")
|