Spaces:
Running
Running
Upload app.py
Browse files
app.py
CHANGED
@@ -328,7 +328,11 @@ with chat_container:
|
|
328 |
'title': st.session_state.chat_title
|
329 |
}
|
330 |
|
331 |
-
|
|
|
|
|
|
|
|
|
332 |
update_chat_memory()
|
333 |
|
334 |
# Procesar nueva entrada si existe (脷NICA versi贸n)
|
@@ -351,7 +355,11 @@ with chat_container:
|
|
351 |
'title': st.session_state.chat_title
|
352 |
}
|
353 |
|
354 |
-
|
|
|
|
|
|
|
|
|
355 |
update_chat_memory()
|
356 |
|
357 |
# Procesar nueva entrada si existe (mantener solo esta versi贸n)
|
|
|
328 |
'title': st.session_state.chat_title
|
329 |
}
|
330 |
|
331 |
+
# A帽adir el indicador de escritura
|
332 |
+
with st.chat_message(name=MODEL_ROLE, avatar=AI_AVATAR_ICON):
|
333 |
+
typing_indicator = st.empty()
|
334 |
+
typing_indicator.markdown("*馃 RoboCopy est谩 escribiendo...*")
|
335 |
+
process_model_response(prompt)
|
336 |
update_chat_memory()
|
337 |
|
338 |
# Procesar nueva entrada si existe (脷NICA versi贸n)
|
|
|
355 |
'title': st.session_state.chat_title
|
356 |
}
|
357 |
|
358 |
+
# A帽adir el indicador de escritura
|
359 |
+
with st.chat_message(name=MODEL_ROLE, avatar=AI_AVATAR_ICON):
|
360 |
+
typing_indicator = st.empty()
|
361 |
+
typing_indicator.markdown("*馃 RoboCopy est谩 escribiendo...*")
|
362 |
+
process_model_response(new_prompt)
|
363 |
update_chat_memory()
|
364 |
|
365 |
# Procesar nueva entrada si existe (mantener solo esta versi贸n)
|