versae commited on
Commit
27e7c38
1 Parent(s): c131f81

Add file IO

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -27,7 +27,7 @@ def modernisa(lines=None, file_obj=None):
27
  output_file = "modernized.txt"
28
  with open(output_file, "w") as output:
29
  output.write("\n".join(generated_text))
30
- return "<br/>".join(generated_text), output
31
 
32
 
33
  samples = [
27
  output_file = "modernized.txt"
28
  with open(output_file, "w") as output:
29
  output.write("\n".join(generated_text))
30
+ return "<br/>".join(generated_text), output_file
31
 
32
 
33
  samples = [