absa-app / app.py
asmashayea's picture
app
e3a1adb
raw
history blame
351 Bytes
import gradio as gr
from inference import predict_absa
gr.Interface(
fn=predict_absa,
inputs=gr.Textbox(lines=4, label="Arabic Review"),
outputs="json",
title="Arabic ABSA (Aspect-Based Sentiment Analysis)",
description="Detects aspect terms and their sentiment from Arabic reviews using a LoRA-BERT+BiLSTM+CRF model."
).launch()