Update app.py
Browse files
app.py
CHANGED
@@ -58,7 +58,7 @@ async def predict(request: Request):
|
|
58 |
"embedding": convert_output(outputs[0]), # Process main output
|
59 |
"tokens": tokenizer.convert_ids_to_tokens(inputs["input_ids"][0])
|
60 |
}
|
61 |
-
|
62 |
return jsonable_encoder(response)
|
63 |
|
64 |
except Exception as e:
|
|
|
58 |
"embedding": convert_output(outputs[0]), # Process main output
|
59 |
"tokens": tokenizer.convert_ids_to_tokens(inputs["input_ids"][0])
|
60 |
}
|
61 |
+
print("embeddings", response["embedding"])
|
62 |
return jsonable_encoder(response)
|
63 |
|
64 |
except Exception as e:
|