!pip install ipynb from ipynb.fs.full.sentimental_analysis_training_pipeline import DepressionClassifier import gradio as gr import numpy as np #from PIL import Image #import requests import hopsworks import joblib project = hopsworks.login(project='liangc40') #fs = project.get_feature_store() mr = project.get_model_registry() model = mr.get_model("sentimental_analysis_model", version=1) model_dir = model.download() model = joblib.load(model_dir + "/sentimental_analysis_model.pkl") def analyse(text): label = model(text) return label with gr.Blocks() as demo: gr.Markdown("