Spaces:
Sleeping
Sleeping
# app.py | |
import gradio as gr | |
from transformers import pipeline | |
detector = pipeline("text-classification", model="debojit01/fake-review-detector") | |
gr.Interface( | |
fn=lambda x: detector(x)[0], | |
inputs="text", | |
outputs="label", | |
title="Fake Review Detector" | |
).launch() |