Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,13 +1,13 @@
|
|
| 1 |
import streamlit as st
|
| 2 |
import getpass
|
| 3 |
import os
|
| 4 |
-
|
| 5 |
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 |
st.header("Este es un ChatBot 🤖🦾 entrenado con las preguntas frecuentes del sitio del servicios de impuestos interno de Chile.")
|
| 10 |
-
|
| 11 |
pregunta = st.text_area('Ingresa tu pregunta:', value="Que es un APA?")
|
| 12 |
|
| 13 |
|
|
|
|
| 1 |
import streamlit as st
|
| 2 |
import getpass
|
| 3 |
import os
|
|
|
|
| 4 |
from modelo import get_chain
|
| 5 |
+
st.set_page_config(layout="wide")
|
| 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 |
st.header("Este es un ChatBot 🤖🦾 entrenado con las preguntas frecuentes del sitio del servicios de impuestos interno de Chile.")
|
| 10 |
+
|
| 11 |
pregunta = st.text_area('Ingresa tu pregunta:', value="Que es un APA?")
|
| 12 |
|
| 13 |
|