Spaces:
Build error
Build error
Commit
·
ecdd66c
1
Parent(s):
4d66906
Update app.py
Browse files
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 =
|
| 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 |
|