GreatCaptainNemo commited on
Commit
983b5d4
·
verified ·
1 Parent(s): e6398f4

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -4
README.md CHANGED
@@ -109,8 +109,7 @@ if __name__ == '__main__':
109
  s = generation_output[0]
110
  output = tokenizer.decode(s,skip_special_tokens=True)
111
  print("Output:",output)
112
- print("
113
- ")
114
  else:
115
  outputs=[]
116
  with open(args.input_file, 'r') as f:
@@ -130,8 +129,7 @@ if __name__ == '__main__':
130
  output = tokenizer.decode(s,skip_special_tokens=True)
131
  outputs.append(output)
132
  with open(args.output_file,'w') as f:
133
- f.write("
134
- ".join(outputs))
135
  print("All the outputs have been saved in",args.output_file)
136
  ```
137
 
 
109
  s = generation_output[0]
110
  output = tokenizer.decode(s,skip_special_tokens=True)
111
  print("Output:",output)
112
+ print("\n")
 
113
  else:
114
  outputs=[]
115
  with open(args.input_file, 'r') as f:
 
129
  output = tokenizer.decode(s,skip_special_tokens=True)
130
  outputs.append(output)
131
  with open(args.output_file,'w') as f:
132
+ f.write("\n".join(outputs))
 
133
  print("All the outputs have been saved in",args.output_file)
134
  ```
135