lamhieu commited on
Commit
95ff73d
Β·
1 Parent(s): 1dc5abe

chore: update something

Browse files
Files changed (1) hide show
  1. lightweight_embeddings/__init__.py +8 -15
lightweight_embeddings/__init__.py CHANGED
@@ -111,7 +111,7 @@ def create_main_interface():
111
  # Project Info
112
  gr.Markdown(
113
  """
114
- # πŸŽ‰ **Lightweight Embeddings Service** πŸŽ‰
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
- - Visit **/docs** or **/redoc** for interactive API documentation.
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