ShAnSantosh commited on
Commit
ecdd66c
·
1 Parent(s): 4d66906

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -13,8 +13,7 @@ import torch
13
  from model import NeuralNet
14
  from nltk_utils import bag_of_words, tokenize
15
 
16
- device = torch.device('cuda' if torch.cuda.is_available() else 'cpu')
17
-
18
  with open('./intents.json', 'r') as json_data:
19
  intents = json.load(json_data)
20
 
 
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