Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -132,8 +132,8 @@ def create_and_push(space_type, hardware, private_space, other_model_name, radio
|
|
| 132 |
)
|
| 133 |
with open(readme_file_path, "r") as f:
|
| 134 |
readme_content = f.read()
|
| 135 |
-
|
| 136 |
-
for line in
|
| 137 |
if "sdk_version" in line:
|
| 138 |
new_content+="sdk_version: 3.10.1\n"
|
| 139 |
else:
|
|
|
|
| 132 |
)
|
| 133 |
with open(readme_file_path, "r") as f:
|
| 134 |
readme_content = f.read()
|
| 135 |
+
new_content = ""
|
| 136 |
+
for line in readme_content.split("\n"):
|
| 137 |
if "sdk_version" in line:
|
| 138 |
new_content+="sdk_version: 3.10.1\n"
|
| 139 |
else:
|