Kangarroar commited on
Commit
077bbd5
1 Parent(s): 270269e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -90,7 +90,7 @@ with tempfile.TemporaryDirectory(dir=os.path.expanduser("~/app")) as temp_dir:
90
  # Get the file contents as bytes
91
  bytes_data = config.getvalue()
92
  # Write the bytes to the temporary file
93
- temp.write(bytes_data.decode())
94
  config_temp_file = temp.name
95
  # Print the temporary file name
96
  print(temp.name)
 
90
  # Get the file contents as bytes
91
  bytes_data = config.getvalue()
92
  # Write the bytes to the temporary file
93
+ temp.write(bytes_data)
94
  config_temp_file = temp.name
95
  # Print the temporary file name
96
  print(temp.name)