Kinan0m commited on
Commit
3c0e007
·
verified ·
1 Parent(s): c740979

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -2
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()