# -*- coding: utf-8 -*- """ Created on Sat Dec 23 13:22:00 2023 @author: Essio Rubin C. """ from PIL import Image import streamlit as st from st_pages import Page, show_pages, add_page_title import time import pandas as pd import matplotlib.pyplot as plt import numpy as np from as_bert_df import batch_predict_sentiment_stars c1 = st.container() c2 = st.container() data_df = pd.DataFrame( { "review": ["",], "predict":[0,] } ) # function to show base page def show_base_page(): with c1: # the title and icon to the current page add_page_title() # show text text_css = """

Una reseña debe ser un texto que tenga una o varias oraciones que incluyan opiniones referidas a servicios que brinda un Hotel. La reseña puede estar escrita en idioma español, holandés, italiano, alemán, francés o inglés.

El resultado de la predicción (sentimiento) es un numero de extrellas, entre 1 y 5.