Update app.py
Browse files2 unmodified lines345667892 unmodified linesimport torch # Import torch for loading the checkpoint
# Set the path to the LoRA checkpoint filelora_path = "/path/to/your/lora_checkpoint.pt" # Replace with the correct pathlora_path = "./lora_checkpoint.pt" # Assuming the checkpoint is in the current folder
# Load the checkpoint from the specified pathcheckpoint = torch.load(lora_path, map_location=device)app.py+1-1