projectlosangeles commited on
Commit
d8c7429
·
verified ·
1 Parent(s): 040ea86

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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 = prg_model.generate(x,
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,