fix the formatting of this python code
```
1
2
3
import time
from sentence_transformers import SentenceTransformer
model = SentenceTransformer ( 'all-MiniLM-L6-v2', device= 'cpu')
4
5
6
7
8
9
#Our sentences we like to encode
sentences = ['This framework generates embeddings for each input sentence',
'Sentences are passed as a list of string.',
'The quick brown fox jumps over the lazy dog.'
'Capital of Inida is New delhi']
10
11
sentences = sentences*25000
12
print (f 'Length of sentences to encode: {len (sentences) }')
13 start = time. time ()
14
embeddings = model. encode (sentences, show_progress _bar=True)
15
end = time.time ()
16
execution time = end - start
17 print ("Encoding using CPU completed in {} seconds.". format (round (execution_time, 2)))
```