Update app.py
Browse files
app.py
CHANGED
|
@@ -16,7 +16,8 @@ embedder = None
|
|
| 16 |
|
| 17 |
AVAILABLE_MODELS = {
|
| 18 |
"Qwen3-Embedding-0.6B": "Qwen/Qwen3-Embedding-0.6B",
|
| 19 |
-
"Semantic-Ar-Qwen-Embed-0.6B": "Omartificial-Intelligence-Space/Semantic-Ar-Qwen-Embed-0.6B"
|
|
|
|
| 20 |
}
|
| 21 |
|
| 22 |
class QwenEmbedder:
|
|
@@ -548,14 +549,14 @@ button.secondary {
|
|
| 548 |
|
| 549 |
# Create the Gradio interface
|
| 550 |
def create_demo():
|
| 551 |
-
demo = gr.Blocks(title="Advanced Text Processing with
|
| 552 |
|
| 553 |
with demo:
|
| 554 |
with gr.Row():
|
| 555 |
# Sidebar
|
| 556 |
with gr.Column(scale=1, elem_classes="sidebar"):
|
| 557 |
gr.Markdown("""
|
| 558 |
-
#
|
| 559 |
|
| 560 |
### Navigation
|
| 561 |
- [Configuration](#configuration)
|
|
|
|
| 16 |
|
| 17 |
AVAILABLE_MODELS = {
|
| 18 |
"Qwen3-Embedding-0.6B": "Qwen/Qwen3-Embedding-0.6B",
|
| 19 |
+
"Semantic-Ar-Qwen-Embed-0.6B": "Omartificial-Intelligence-Space/Semantic-Ar-Qwen-Embed-0.6B",
|
| 20 |
+
"AraGemma-Embedding-300m" : "Omartificial-Intelligence-Space/AraGemma-Embedding-300m"
|
| 21 |
}
|
| 22 |
|
| 23 |
class QwenEmbedder:
|
|
|
|
| 549 |
|
| 550 |
# Create the Gradio interface
|
| 551 |
def create_demo():
|
| 552 |
+
demo = gr.Blocks(title="Advanced Text Processing with Arabic Semantic Embeddings", css=custom_css, theme=gr.themes.Soft())
|
| 553 |
|
| 554 |
with demo:
|
| 555 |
with gr.Row():
|
| 556 |
# Sidebar
|
| 557 |
with gr.Column(scale=1, elem_classes="sidebar"):
|
| 558 |
gr.Markdown("""
|
| 559 |
+
# Arabic Semantic Embeddings
|
| 560 |
|
| 561 |
### Navigation
|
| 562 |
- [Configuration](#configuration)
|