Spaces:
Runtime error
Runtime error
Commit
·
6cdc783
1
Parent(s):
2155ed3
Update app.py
Browse files
app.py
CHANGED
@@ -3,7 +3,6 @@ import torch
|
|
3 |
from torch import nn
|
4 |
import lightning.pytorch as pl
|
5 |
from torch.nn import functional as F
|
6 |
-
from torch.utils.data import DataLoader, Dataset, random_split
|
7 |
from utils import GPTLM
|
8 |
|
9 |
newmodel = GPTLM.load_from_checkpoint('/content/drive/MyDrive/ERAV1/S21/shakespeare_gpt.pth')
|
|
|
3 |
from torch import nn
|
4 |
import lightning.pytorch as pl
|
5 |
from torch.nn import functional as F
|
|
|
6 |
from utils import GPTLM
|
7 |
|
8 |
newmodel = GPTLM.load_from_checkpoint('/content/drive/MyDrive/ERAV1/S21/shakespeare_gpt.pth')
|