Tonic commited on
Commit
d8f89be
·
verified ·
1 Parent(s): e8b8c7d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -1,6 +1,6 @@
1
 
2
- title = """# 🙋🏻‍♂️Welcome to tonic's e5 connector for e5Mistral7b
3
- ⚒️this connector looks like openai embeddings but uses e5Mistral7b - so you can use it as a drop in replacement for the open ai api ⚒️
4
  """
5
 
6
  client = Client("https://tonic-e5.hf.space/--replicas/w3v1e/")
@@ -28,7 +28,7 @@ def format_response(embeddings, model):
28
  "model": model,
29
  "object": "list",
30
  "usage": {
31
- "prompt_tokens": 17
32
  "total_tokens": 17
33
  }
34
  }
 
1
 
2
+ title = """# 🙋🏻‍♂️Welcome to tonic's openai⚒️connector for 🐣e5-mistral🛌🏻
3
+ this⚒️connector looks like openai embeddings but uses 🐣e5-mistral🛌🏻 - so you can use it as a drop in replacement for the open ai api. Both the inputs and outputs exactly match what is⚒️expected from openai's api so anything already⚒️compatible with that api is now compative with 🐣e5-mistral🛌🏻
4
  """
5
 
6
  client = Client("https://tonic-e5.hf.space/--replicas/w3v1e/")
 
28
  "model": model,
29
  "object": "list",
30
  "usage": {
31
+ "prompt_tokens": 17,
32
  "total_tokens": 17
33
  }
34
  }