Spaces:
Runtime error
Runtime error
File size: 217 Bytes
59b4024 |
1 2 3 4 5 6 7 |
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() |