Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -2001,14 +2001,21 @@ def similarity_matching(input_json_path: str, project_folder: str) -> str:
|
|
2001 |
final_project["targets"].append({
|
2002 |
"isStage": True,
|
2003 |
"name": "Stage",
|
2004 |
-
"
|
2005 |
-
"
|
|
|
|
|
|
|
|
|
2006 |
"currentCostume": 1 if len(all_costumes) > 1 else 0,
|
2007 |
"costumes": all_costumes,
|
2008 |
"sounds": sounds,
|
2009 |
-
"volume": 100,
|
2010 |
-
"
|
2011 |
-
"
|
|
|
|
|
|
|
2012 |
})
|
2013 |
|
2014 |
with open(project_json_path, 'w') as f:
|
|
|
2001 |
final_project["targets"].append({
|
2002 |
"isStage": True,
|
2003 |
"name": "Stage",
|
2004 |
+
"objName": "Stage",
|
2005 |
+
"variables": {},
|
2006 |
+
"lists": {},
|
2007 |
+
"broadcasts": {},
|
2008 |
+
"blocks": {},
|
2009 |
+
"comments": {},
|
2010 |
"currentCostume": 1 if len(all_costumes) > 1 else 0,
|
2011 |
"costumes": all_costumes,
|
2012 |
"sounds": sounds,
|
2013 |
+
"volume": 100,
|
2014 |
+
"layerOrder": 0,
|
2015 |
+
"tempo": 60,
|
2016 |
+
"videoTransparency": 50,
|
2017 |
+
"videoState": "on",
|
2018 |
+
"textToSpeechLanguage": None
|
2019 |
})
|
2020 |
|
2021 |
with open(project_json_path, 'w') as f:
|