Spaces:
Sleeping
Sleeping
| import gradio as gr | |
| from transformers import pipeline | |
| classifier = pipeline("sentiment-analysis") | |
| gr.Interface( | |
| fn=classifier, | |
| inputs="text", | |
| outputs="text", | |
| title="Hugging Face Sentiment Analysis" | |
| ).launch(share=True) |