g-ur commited on
Commit
d1292d4
1 Parent(s): 7463c95

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -24,8 +24,8 @@ if "messages" not in st.session_state: # Stores the messages of the assistant
24
  if "retry_error" not in st.session_state: # Used for error handling
25
  st.session_state.retry_error = 0
26
 
27
- st.set_page_config(page_title="Manuales de Procedimientos de SCHT")
28
- st.sidebar.title("NORMA G.050 - SEGURIDAD DURANTE LA CONSTRUCCI脫N")
29
  st.sidebar.divider()
30
  st.sidebar.markdown("Versi贸n actual: none")
31
 
@@ -34,7 +34,7 @@ st.sidebar.divider()
34
 
35
  if "assistant" not in st.session_state:
36
 
37
- st.session_state.assistant = openai.beta.assistants.retrieve(assistant_id='asst_7zlPmM2Q7PNiYoJCsQtfgRJX')
38
 
39
  # Create a new thread for this session
40
  st.session_state.thread = client.beta.threads.create(
@@ -67,7 +67,7 @@ elif hasattr(st.session_state.run, 'status') and st.session_state.run.status ==
67
  message_text = content_part.text.value
68
  st.markdown(message_text)
69
 
70
- if prompt := st.chat_input("Escribe tu consulta sobre la Norma G.050 - Seguridad durante la contrucci贸n"):
71
  with st.chat_message('user'):
72
  st.write(prompt)
73
 
 
24
  if "retry_error" not in st.session_state: # Used for error handling
25
  st.session_state.retry_error = 0
26
 
27
+ st.set_page_config(page_title="Reportes Vidal 140")
28
+ st.sidebar.title("Agente - Vidal 140")
29
  st.sidebar.divider()
30
  st.sidebar.markdown("Versi贸n actual: none")
31
 
 
34
 
35
  if "assistant" not in st.session_state:
36
 
37
+ st.session_state.assistant = openai.beta.assistants.retrieve(assistant_id='asst_oZMLlwkRJ7xMQiQfv1gaVvbQ')
38
 
39
  # Create a new thread for this session
40
  st.session_state.thread = client.beta.threads.create(
 
67
  message_text = content_part.text.value
68
  st.markdown(message_text)
69
 
70
+ if prompt := st.chat_input("Escribe tu consulta sobre la obra Conjunto Habitacional Vidal"):
71
  with st.chat_message('user'):
72
  st.write(prompt)
73