Montazerh82's picture
Create app.py
59b4024 verified
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()