GhadaAlothman commited on
Commit
202dbb5
·
verified ·
1 Parent(s): ccba95f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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", # <== هذا السطر يضيف الـendpoint المطلوب
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
  )