Waflon commited on
Commit
5c2e0bd
1 Parent(s): 41a9792

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -14,7 +14,7 @@ tmp_button = st.button("CLICK")
14
  chain = get_chain(st.secrets['OPENAI_API_KEY'])
15
  if tmp_button: #Esperar al boton
16
  out = chain.invoke(pregunta)
17
- st.write(f"<h1 style='text-align: right; color: red;'>{out}</h1>", unsafe_allow_html=True)
18
  #st.rerun() #Restart app
19
  else:
20
  st.stop()
 
14
  chain = get_chain(st.secrets['OPENAI_API_KEY'])
15
  if tmp_button: #Esperar al boton
16
  out = chain.invoke(pregunta)
17
+ st.write(f"<p style='text-align: right; color: red;'>{out}</p>", unsafe_allow_html=True)
18
  #st.rerun() #Restart app
19
  else:
20
  st.stop()