Spaces:
Sleeping
Sleeping
Changed token
Browse files
app.py
CHANGED
|
@@ -31,7 +31,7 @@ async def openai_embeddings(request: Request):
|
|
| 31 |
SpacePath = body['model']
|
| 32 |
|
| 33 |
print("Creating client...");
|
| 34 |
-
SpaceClient = Client(SpacePath,
|
| 35 |
|
| 36 |
|
| 37 |
if not apiName:
|
|
|
|
| 31 |
SpacePath = body['model']
|
| 32 |
|
| 33 |
print("Creating client...");
|
| 34 |
+
SpaceClient = Client(SpacePath, token = BearerToken)
|
| 35 |
|
| 36 |
|
| 37 |
if not apiName:
|