Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -59,4 +59,10 @@ demo = gr.Interface(
|
|
| 59 |
description="أداة ذكية لتقييم مقروئية النصوص العربية باستخدام نموذج AraBERT."
|
| 60 |
)
|
| 61 |
|
| 62 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 59 |
description="أداة ذكية لتقييم مقروئية النصوص العربية باستخدام نموذج AraBERT."
|
| 60 |
)
|
| 61 |
|
| 62 |
+
iface.launch(
|
| 63 |
+
server_name="0.0.0.0",
|
| 64 |
+
server_port=7860,
|
| 65 |
+
enable_queue=True,
|
| 66 |
+
share=True,
|
| 67 |
+
allowed_origins=["*"] # ✅ this line enables CORS for your React app
|
| 68 |
+
)
|