Spaces:
Configuration error
Configuration error
Kangarroar
commited on
Commit
•
53e3158
1
Parent(s):
e4b9503
Update app.py
Browse files
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
|
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)
|