WebashalarForML commited on
Commit
8f841bf
·
verified ·
1 Parent(s): 6e2e771

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +12 -5
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
- "variables": {}, "lists": {}, "broadcasts": {},
2005
- "blocks": {}, "comments": {},
 
 
 
 
2006
  "currentCostume": 1 if len(all_costumes) > 1 else 0,
2007
  "costumes": all_costumes,
2008
  "sounds": sounds,
2009
- "volume": 100, "layerOrder": 0,
2010
- "tempo": 60, "videoTransparency": 50,
2011
- "videoState": "on", "textToSpeechLanguage": None
 
 
 
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: