Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,4 +1,9 @@
|
|
|
|
|
|
|
|
|
|
1 |
import gradio as gr
|
|
|
2 |
# Creating a gradio app using the inferene API
|
3 |
App = gr.Interface.load("models/asalhi85/Dialect_Recognitionv2",
|
4 |
title="<center><img src=\"https://www.arabitools.com/images/logoV1.png\" width =\"200px\"> </center> مثال لتحليل اللهجات - أدوات عربي", description ="<center>نموذج لغوي عميق خاص في كشف اللهجات وحاليا يدعم اللهجات التالية : اللغة العربية الفصحى الحديثة ، اللهجة النجدية، اللهجة الحجازية، اللهجة الخليجية</center>",
|
|
|
1 |
+
import os
|
2 |
+
os.system("pip uninstall -y gradio")
|
3 |
+
os.system("pip install gradio==3.45.0")
|
4 |
+
|
5 |
import gradio as gr
|
6 |
+
|
7 |
# Creating a gradio app using the inferene API
|
8 |
App = gr.Interface.load("models/asalhi85/Dialect_Recognitionv2",
|
9 |
title="<center><img src=\"https://www.arabitools.com/images/logoV1.png\" width =\"200px\"> </center> مثال لتحليل اللهجات - أدوات عربي", description ="<center>نموذج لغوي عميق خاص في كشف اللهجات وحاليا يدعم اللهجات التالية : اللغة العربية الفصحى الحديثة ، اللهجة النجدية، اللهجة الحجازية، اللهجة الخليجية</center>",
|