DonImages commited on
Commit
70374ff
·
verified ·
1 Parent(s): 15b4f2c

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -0
app.py ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ import torch
2
+
3
+ try:
4
+ lora_checkpoint = torch.load("lora_checkpoint.pt", map_location="cpu")
5
+ print("Checkpoint loaded successfully!")
6
+ print(type(lora_checkpoint)) # Print type to verify structure
7
+ except Exception as e:
8
+ print(f"Error loading checkpoint: {e}")