| import streamlit as st | |
| from src import get_predict | |
| def main(): | |
| st.title("Aplicación de Streamlit") | |
| texto = st.text_input("Ingresa un texto") | |
| if texto: | |
| resultado = get_predict(texto) | |
| st.write("Resultado:", resultado) | |
| if __name__ == '__main__': | |
| main() | |
| import streamlit as st | |
| from src import get_predict | |
| def main(): | |
| st.title("Aplicación de Streamlit") | |
| texto = st.text_input("Ingresa un texto") | |
| if texto: | |
| resultado = get_predict(texto) | |
| st.write("Resultado:", resultado) | |
| if __name__ == '__main__': | |
| main() | |