Spaces:
				
			
			
	
			
			
		Runtime error
		
	
	
	
			
			
	
	
	
	
		
		
		Runtime error
		
	Commit 
							
							·
						
						65832d2
	
1
								Parent(s):
							
							4cde892
								
    	
        app.py
    CHANGED
    
    | @@ -176,6 +176,12 @@ hf_hub_download(repo_id="briaai/ID_preservation_2.3", filename="ip-adapter.bin", | |
| 176 | 
             
            hf_hub_download(repo_id="briaai/ID_preservation_2.3", filename="image_encoder/pytorch_model.bin", local_dir="./checkpoints")
         | 
| 177 | 
             
            hf_hub_download(repo_id="briaai/ID_preservation_2.3", filename="image_encoder/config.json", local_dir="./checkpoints")
         | 
| 178 |  | 
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
| 179 |  | 
| 180 | 
             
            # base_dir = "./instantID_ckpt/checkpoint_174000"
         | 
| 181 | 
             
            # face_adapter = f'{base_dir}/pytorch_model.bin'
         | 
| @@ -231,7 +237,7 @@ Loras_dict = { | |
| 231 |  | 
| 232 | 
             
            lora_names = Loras_dict.keys()
         | 
| 233 |  | 
| 234 | 
            -
            lora_base_path = "./LoRAs"
         | 
| 235 |  | 
| 236 | 
             
            def randomize_seed_fn(seed: int, randomize_seed: bool) -> int:
         | 
| 237 | 
             
                if randomize_seed:
         | 
|  | |
| 176 | 
             
            hf_hub_download(repo_id="briaai/ID_preservation_2.3", filename="image_encoder/pytorch_model.bin", local_dir="./checkpoints")
         | 
| 177 | 
             
            hf_hub_download(repo_id="briaai/ID_preservation_2.3", filename="image_encoder/config.json", local_dir="./checkpoints")
         | 
| 178 |  | 
| 179 | 
            +
            hf_hub_download(repo_id="briaai/ID_preservation_2.3", filename="LoRAs/3D_illustration/pytorch_lora_weights.safetensors", local_dir="./checkpoints")
         | 
| 180 | 
            +
            hf_hub_download(repo_id="briaai/ID_preservation_2.3", filename="LoRAs/Avatar_internlm/pytorch_lora_weights.safetensors", local_dir="./checkpoints")
         | 
| 181 | 
            +
            hf_hub_download(repo_id="briaai/ID_preservation_2.3", filename="LoRAs/Characters/pytorch_lora_weights.safetensors", local_dir="./checkpoints")
         | 
| 182 | 
            +
            hf_hub_download(repo_id="briaai/ID_preservation_2.3", filename="LoRAs/Storyboards/pytorch_lora_weights.safetensors", local_dir="./checkpoints")
         | 
| 183 | 
            +
            hf_hub_download(repo_id="briaai/ID_preservation_2.3", filename="LoRAs/Vangogh_Vanilla/pytorch_lora_weights.safetensors", local_dir="./checkpoints")
         | 
| 184 | 
            +
             | 
| 185 |  | 
| 186 | 
             
            # base_dir = "./instantID_ckpt/checkpoint_174000"
         | 
| 187 | 
             
            # face_adapter = f'{base_dir}/pytorch_model.bin'
         | 
|  | |
| 237 |  | 
| 238 | 
             
            lora_names = Loras_dict.keys()
         | 
| 239 |  | 
| 240 | 
            +
            lora_base_path = "./checkpoints/LoRAs"
         | 
| 241 |  | 
| 242 | 
             
            def randomize_seed_fn(seed: int, randomize_seed: bool) -> int:
         | 
| 243 | 
             
                if randomize_seed:
         | 
 
			
