Spaces:
Running
Running
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() | |