Spaces:
Runtime error
Runtime error
| import gradio as gr | |
| from transformers import pipeline | |
| pipe = pipeline("text-classification", model="whitefoxredhell/language_identification") | |
| demo = gr.Interface(fn=pipe, inputs="text", outputs="text") | |
| demo.launch() |