Waflon commited on
Commit
312d8f6
·
verified ·
1 Parent(s): 2dbffe1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -25,7 +25,7 @@ tmp_button = st.button("CLICK")
25
  chain = get_chain(st.secrets['OPENAI_API_KEY'])
26
  if tmp_button: #Esperar al boton
27
  out = chain.invoke(pregunta)
28
- st.write(f"<p style='text-align: right; background-color: yellow;'>{out['query']}</p>", unsafe_allow_html=True)
29
  #st.rerun() #Restart app
30
  else:
31
  st.stop()
 
25
  chain = get_chain(st.secrets['OPENAI_API_KEY'])
26
  if tmp_button: #Esperar al boton
27
  out = chain.invoke(pregunta)
28
+ st.write(f"<p style='text-align: right; background-color: yellow;color: black;'>{out['query']}</p>", unsafe_allow_html=True)
29
  #st.rerun() #Restart app
30
  else:
31
  st.stop()