import transformers import gradio as gr from transformers import pipeline gr.interface.load("huggingface.co/keras-io/bidirectional-lstm-imdb", examples =[["We are having beautiful weather today"]], theme = "grass", title= "Sentiment Analysis with Keras", description = "This model can detect sentiment").launch()