Spaces:
Running
Running
chore: update something
Browse files
lightweight_embeddings/__init__.py
CHANGED
|
@@ -111,7 +111,7 @@ def create_main_interface():
|
|
| 111 |
# Project Info
|
| 112 |
gr.Markdown(
|
| 113 |
"""
|
| 114 |
-
|
| 115 |
|
| 116 |
Welcome to the **Lightweight Embeddings** API, a blazing-fast and flexible service
|
| 117 |
supporting **text** and **image** embeddings. Below you'll find key project details:
|
|
@@ -119,22 +119,15 @@ def create_main_interface():
|
|
| 119 |
)
|
| 120 |
gr.Markdown(
|
| 121 |
f"""
|
| 122 |
-
**Project**: {root_data["project"]} π
|
| 123 |
-
**Version**: {root_data["version"]}
|
| 124 |
-
**Description**: {root_data["description"]}
|
| 125 |
-
|
| 126 |
-
**Docs**: [Click here]({root_data["docs"]}) π
|
| 127 |
-
**GitHub**: [Check it out]({root_data["github"]}) π
|
| 128 |
-
**Spaces**: [Explore]({root_data["spaces"]}) π€
|
| 129 |
-
"""
|
| 130 |
-
)
|
| 131 |
-
gr.Markdown(
|
| 132 |
-
"""
|
| 133 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 134 |
### π‘ How to Use
|
| 135 |
-
|
| 136 |
-
- Check out **/v1/embeddings** and **/v1/rank** endpoints for direct usage.
|
| 137 |
-
- Or try the simple playground below! Enjoy exploring a multilingual, multi-modal world! ππ
|
| 138 |
"""
|
| 139 |
)
|
| 140 |
|
|
|
|
| 111 |
# Project Info
|
| 112 |
gr.Markdown(
|
| 113 |
"""
|
| 114 |
+
## π **Lightweight Embeddings**
|
| 115 |
|
| 116 |
Welcome to the **Lightweight Embeddings** API, a blazing-fast and flexible service
|
| 117 |
supporting **text** and **image** embeddings. Below you'll find key project details:
|
|
|
|
| 119 |
)
|
| 120 |
gr.Markdown(
|
| 121 |
f"""
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 122 |
---
|
| 123 |
+
### π¦ Project Details
|
| 124 |
+
- **Description**: {root_data["description"]}
|
| 125 |
+
|
| 126 |
+
### π Links
|
| 127 |
+
- [Documentation]({root_data["docs"]}) | [GitHub]({root_data["github"]}) | [Demo]({root_data["spaces"]})
|
| 128 |
+
|
| 129 |
### π‘ How to Use
|
| 130 |
+
Visit **/docs** for API documentation or try the playground below! π
|
|
|
|
|
|
|
| 131 |
"""
|
| 132 |
)
|
| 133 |
|