mirror of
http://112.124.100.131/huang.ze/ebiz-dify-ai.git
synced 2025-12-10 03:16:51 +08:00
chore: refurbish Python code by applying refurb linter rules (#8296)
This commit is contained in:
@@ -51,7 +51,7 @@ class MockTEIClass:
|
||||
# }
|
||||
# }
|
||||
embeddings = []
|
||||
for idx, text in enumerate(texts):
|
||||
for idx in range(len(texts)):
|
||||
embedding = [0.1] * 768
|
||||
embeddings.append(
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user