| import gradio as gr | |
| from transformers import automodel, pipeline | |
| from datasets import load_dataset | |
| dataset = load_dataset("mahekjasani/hindidataset") | |
| pipline= pipeline('Text Classification') | |
| text= gr.tetx_area('enter some text!') | |
| if text: | |
| out = pipe(text) | |
| gr.json(out) |