Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -158,7 +158,7 @@ def build_space(repo_name,file_name,file_content,access_token=""):
|
|
158 |
|
159 |
local_file_path=str(uuid.uuid4())
|
160 |
with open(local_file_path, 'w') as f:
|
161 |
-
f.write(str(file_content
|
162 |
f.close()
|
163 |
# Upload a local file to the Space
|
164 |
commit_message = "Adding file test: "+ str(file_name)
|
|
|
158 |
|
159 |
local_file_path=str(uuid.uuid4())
|
160 |
with open(local_file_path, 'w') as f:
|
161 |
+
f.write(str(file_content))
|
162 |
f.close()
|
163 |
# Upload a local file to the Space
|
164 |
commit_message = "Adding file test: "+ str(file_name)
|