ShAnSantosh commited on
Commit
77a1b68
1 Parent(s): 5a0b3dd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -13,7 +13,7 @@ import torch
13
  from model import NeuralNet
14
  from nltk_utils import bag_of_words, tokenize
15
 
16
- device = "cpu"
17
  with open('./intents.json', 'r') as json_data:
18
  intents = json.load(json_data)
19
 
 
13
  from model import NeuralNet
14
  from nltk_utils import bag_of_words, tokenize
15
 
16
+ device = torch.device("cpu")
17
  with open('./intents.json', 'r') as json_data:
18
  intents = json.load(json_data)
19