Sentdex commited on
Commit
bdf6b6e
1 Parent(s): e97893e

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +5 -3
README.md CHANGED
@@ -20,10 +20,12 @@ inp = """def do_something():
20
  """
21
 
22
  newlinechar = "<N>"
23
- converted = inp.replace("\n", newlinechar)
 
24
  print("length:", len(converted))
25
- print(converted)```
 
26
 
27
- Should give you something like:
28
  `def do_something():<N> print("Hello")<N>`
29
  ...which is what the model is expecting as input.
 
20
  """
21
 
22
  newlinechar = "<N>"
23
+ converted = inp.replace("\
24
+ ", newlinechar)
25
  print("length:", len(converted))
26
+ print(converted)
27
+ ```
28
 
29
+ This should give you something like:
30
  `def do_something():<N> print("Hello")<N>`
31
  ...which is what the model is expecting as input.