Update app.py
Browse files
app.py
CHANGED
|
@@ -180,7 +180,7 @@ def generate_chords(chords,
|
|
| 180 |
x = torch.LongTensor([718] + cho_prg + [719]).to(DEVICE)
|
| 181 |
|
| 182 |
with ctx:
|
| 183 |
-
out =
|
| 184 |
2048-len(cho_prg)+2,
|
| 185 |
temperature=input_temperature,
|
| 186 |
filter_logits_fn=top_p,
|
|
|
|
| 180 |
x = torch.LongTensor([718] + cho_prg + [719]).to(DEVICE)
|
| 181 |
|
| 182 |
with ctx:
|
| 183 |
+
out = tex_model.generate(x,
|
| 184 |
2048-len(cho_prg)+2,
|
| 185 |
temperature=input_temperature,
|
| 186 |
filter_logits_fn=top_p,
|