Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -55,7 +55,7 @@ demo = gr.Interface(
|
|
| 55 |
fn=analyze_text,
|
| 56 |
inputs=gr.Textbox(label="أدخل النص العربي هنا", lines=6),
|
| 57 |
outputs=gr.JSON(label="نتائج التحليل"),
|
| 58 |
-
api_name="predict",
|
| 59 |
title="Arabic Readability Analyzer",
|
| 60 |
description="أداة ذكية لتقييم مقروئية النصوص العربية باستخدام نموذج AraBERT."
|
| 61 |
)
|
|
|
|
| 55 |
fn=analyze_text,
|
| 56 |
inputs=gr.Textbox(label="أدخل النص العربي هنا", lines=6),
|
| 57 |
outputs=gr.JSON(label="نتائج التحليل"),
|
| 58 |
+
api_name="predict", # ✅ لازم هذا السطر موجود
|
| 59 |
title="Arabic Readability Analyzer",
|
| 60 |
description="أداة ذكية لتقييم مقروئية النصوص العربية باستخدام نموذج AraBERT."
|
| 61 |
)
|