JeCabrera commited on
Commit
23faa9a
·
verified ·
1 Parent(s): 238c7ec

Upload 12 files

Browse files
Files changed (1) hide show
  1. app.py +0 -8
app.py CHANGED
@@ -293,14 +293,6 @@ if not state.has_messages():
293
  state.chat.send_message(system_prompt)
294
  state.chat.send_message(expert_prompt)
295
 
296
- # Solo añadir el mensaje inicial si no es un ejemplo
297
- if not state.has_prompt():
298
- state.add_message(
299
- role=MODEL_ROLE,
300
- content=get_greeting_response(),
301
- avatar=AI_AVATAR_ICON,
302
- )
303
-
304
  # Procesar entrada del usuario
305
  if prompt := st.chat_input('Describe tu producto/servicio y audiencia objetivo...'):
306
  process_message(prompt, is_example=False)
 
293
  state.chat.send_message(system_prompt)
294
  state.chat.send_message(expert_prompt)
295
 
 
 
 
 
 
 
 
 
296
  # Procesar entrada del usuario
297
  if prompt := st.chat_input('Describe tu producto/servicio y audiencia objetivo...'):
298
  process_message(prompt, is_example=False)