Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -18,7 +18,10 @@ iface = gr.Interface(
|
|
| 18 |
inputs=gr.Textbox(lines=2, placeholder="اكتب النص هنا..."),
|
| 19 |
outputs="text",
|
| 20 |
title="تحليل المشاعر العربية",
|
| 21 |
-
description="نموذج لتحليل ما إذا كان النص إيجابيًا، سلبيًا، أم محايدًا."
|
|
|
|
|
|
|
|
|
|
| 22 |
)
|
| 23 |
|
| 24 |
-
iface.launch()
|
|
|
|
| 18 |
inputs=gr.Textbox(lines=2, placeholder="اكتب النص هنا..."),
|
| 19 |
outputs="text",
|
| 20 |
title="تحليل المشاعر العربية",
|
| 21 |
+
description="نموذج لتحليل ما إذا كان النص إيجابيًا، سلبيًا، أم محايدًا.",
|
| 22 |
+
# --- !! هذا هو السطر الجديد والمهم !! ---
|
| 23 |
+
api_name="predict"
|
| 24 |
+
# -----------------------------------------
|
| 25 |
)
|
| 26 |
|
| 27 |
+
iface.launch()
|