更新 builder/modal-builder/src/main.py
This commit is contained in:
		
							parent
							
								
									4073a43d3d
								
							
						
					
					
						commit
						d8197398ab
					
				@ -313,7 +313,7 @@ async def build_logic(item: Item):
 | 
				
			|||||||
        "name": item.name,
 | 
					        "name": item.name,
 | 
				
			||||||
        "deploy_test": os.environ.get("DEPLOY_TEST_FLAG", "False"),
 | 
					        "deploy_test": os.environ.get("DEPLOY_TEST_FLAG", "False"),
 | 
				
			||||||
        "gpu": item.gpu,
 | 
					        "gpu": item.gpu,
 | 
				
			||||||
        "civitai_token": os.environ.get("CIVITAI_TOKEN", "")
 | 
					        "civitai_token": os.environ.get("CIVITAI_TOKEN", "833b4ded5c7757a06a803763500bab58")
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
    with open(f"{folder_path}/config.py", "w") as f:
 | 
					    with open(f"{folder_path}/config.py", "w") as f:
 | 
				
			||||||
        f.write("config = " + json.dumps(config))
 | 
					        f.write("config = " + json.dumps(config))
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user