DHRUV SHEKHAWAT commited on
Commit
2040a2b
·
1 Parent(s): 8a998a2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -58,8 +58,7 @@ if load_checkpoint:
58
 
59
 
60
  question = text2
61
- if question == 'quit':
62
- break
63
  max_len = 128
64
  enc_qus = [word_map.get(word, word_map['<unk>']) for word in question.split()]
65
  question = torch.LongTensor(enc_qus).to(device).unsqueeze(0)
 
58
 
59
 
60
  question = text2
61
+
 
62
  max_len = 128
63
  enc_qus = [word_map.get(word, word_map['<unk>']) for word in question.split()]
64
  question = torch.LongTensor(enc_qus).to(device).unsqueeze(0)