Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -109,7 +109,8 @@ def create_hf_space():
|
|
109 |
with open(f"temp_{filename}", "w") as f:
|
110 |
if filename.endswith(".py"):
|
111 |
# Inject parameters into Python files if present
|
112 |
-
content = f"PARAMS = {json.dumps(params)}\n\n{content}"
|
|
|
113 |
|
114 |
f.write(content)
|
115 |
f.close()
|
|
|
109 |
with open(f"temp_{filename}", "w") as f:
|
110 |
if filename.endswith(".py"):
|
111 |
# Inject parameters into Python files if present
|
112 |
+
#content = f"PARAMS = {json.dumps(params)}\n\n{content}"
|
113 |
+
content = f"{content}"
|
114 |
|
115 |
f.write(content)
|
116 |
f.close()
|