JaphetHernandez commited on
Commit
4fd169c
·
verified ·
1 Parent(s): 81e6d96

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -54,9 +54,10 @@ def main():
54
 
55
  if uploaded_file is not None:
56
  df = pd.read_csv(uploaded_file)
 
57
  st.write("Archivo CSV cargado exitosamente:")
58
  st.write(df.head()) # Mostrar las primeras filas del dataframe
59
-
60
  # Prompt inicial
61
  initial_prompt = (""""
62
  f"You are an AI assistant. You have a list of job titles and a search query.\n"
@@ -74,6 +75,7 @@ def main():
74
  f"Job Titles: {job_titles}\n"
75
  """
76
  )
 
77
  st.write(f"Prompt inicial: {initial_prompt}")
78
 
79
  # Generar la respuesta del modelo
 
54
 
55
  if uploaded_file is not None:
56
  df = pd.read_csv(uploaded_file)
57
+ query = "aspiring human resources specialist"
58
  st.write("Archivo CSV cargado exitosamente:")
59
  st.write(df.head()) # Mostrar las primeras filas del dataframe
60
+ job_titles = df['job_title'].tolist()
61
  # Prompt inicial
62
  initial_prompt = (""""
63
  f"You are an AI assistant. You have a list of job titles and a search query.\n"
 
75
  f"Job Titles: {job_titles}\n"
76
  """
77
  )
78
+ st.write(f"Query: {query}")
79
  st.write(f"Prompt inicial: {initial_prompt}")
80
 
81
  # Generar la respuesta del modelo