Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
|
| 2 |
-
title = """# 🙋🏻♂️Welcome to tonic's
|
| 3 |
-
⚒️
|
| 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 |
}
|