Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -5,6 +5,7 @@ import lightning.pytorch as pl
|
|
5 |
from torch.nn import functional as F
|
6 |
from utils import GPTLM,encode,decode
|
7 |
|
|
|
8 |
newmodel = GPTLM.load_from_checkpoint('shakespeare_gpt.pth')
|
9 |
|
10 |
def generate_dialogue(character_dropdown):
|
|
|
5 |
from torch.nn import functional as F
|
6 |
from utils import GPTLM,encode,decode
|
7 |
|
8 |
+
|
9 |
newmodel = GPTLM.load_from_checkpoint('shakespeare_gpt.pth')
|
10 |
|
11 |
def generate_dialogue(character_dropdown):
|