File size: 389 Bytes
9f56dae
 
6851cbf
9f56dae
6851cbf
9f56dae
 
 
 
1
2
3
4
5
6
7
8
9
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()