Waflon commited on
Commit
3c9dca8
·
verified ·
1 Parent(s): 205c1d0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -6,7 +6,7 @@ from modelo import get_chain
6
 
7
  os.environ["OPENAI_API_KEY"] = st.secrets['OPENAI_API_KEY'] # agregada en la config de hugginface
8
  st.markdown("<h1 style='text-align: center; color: yellow;'>Chatbot SII</h1>", unsafe_allow_html=True)
9
- chain = get_chain()
10
 
11
  st.header("Este es un ChatBot 🤖🦾 entrenado con las preguntas frecuentes del sitio del servicios de impuestos interno de Chile.")
12
  pregunta = st.text_area('Ingresa tu pregunta:', value="Que es un APA?")
 
6
 
7
  os.environ["OPENAI_API_KEY"] = st.secrets['OPENAI_API_KEY'] # agregada en la config de hugginface
8
  st.markdown("<h1 style='text-align: center; color: yellow;'>Chatbot SII</h1>", unsafe_allow_html=True)
9
+ chain = get_chain(st.secrets['OPENAI_API_KEY'])
10
 
11
  st.header("Este es un ChatBot 🤖🦾 entrenado con las preguntas frecuentes del sitio del servicios de impuestos interno de Chile.")
12
  pregunta = st.text_area('Ingresa tu pregunta:', value="Que es un APA?")