financIA / app.py
Frorozcol's picture
Load the app
9ee675e
raw
history blame
283 Bytes
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()