Update app.py
Browse files
app.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
import torch
|
2 |
|
3 |
try:
|
4 |
-
lora_checkpoint = torch.load("
|
5 |
print("Checkpoint loaded successfully!")
|
6 |
print(type(lora_checkpoint)) # Print type to verify structure
|
7 |
except Exception as e:
|
|
|
1 |
import torch
|
2 |
|
3 |
try:
|
4 |
+
lora_checkpoint = torch.load("lora_trained_model.pt", map_location="cpu")
|
5 |
print("Checkpoint loaded successfully!")
|
6 |
print(type(lora_checkpoint)) # Print type to verify structure
|
7 |
except Exception as e:
|