Waflon commited on
Commit
996d8d7
1 Parent(s): 8ece006

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -1,5 +1,7 @@
1
  import streamlit as st
2
  from modelo import get_chain
 
 
3
 
4
  #Menu Visual
5
  st.markdown("<h1 style='text-align: center; color: yellow;'>Chatbot Códigos de Leyes</h1>", unsafe_allow_html=True) #mandar un texto en html
 
1
  import streamlit as st
2
  from modelo import get_chain
3
+ import os
4
+ os.environ["OPENAI_API_KEY"] = st.secrets["OPENAI_API_KEY"]
5
 
6
  #Menu Visual
7
  st.markdown("<h1 style='text-align: center; color: yellow;'>Chatbot Códigos de Leyes</h1>", unsafe_allow_html=True) #mandar un texto en html