ipvikas commited on
Commit
8960a6d
1 Parent(s): a566fc7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -91,7 +91,7 @@ import json
91
 
92
  import torch
93
  import torch.nn as nn
94
- from torch.utils.data import Dataset, DataLoader
95
 
96
  #2. Loading our JSON Data
97
  #from google.colab import drive #commented
@@ -122,7 +122,7 @@ with open(path, 'r') as f:
122
  import nltk
123
  nltk.download('punkt')
124
 
125
- from nltk_utils import bag_of_words, tokenize, stem
126
 
127
  all_words = []
128
  tags = []
@@ -269,7 +269,7 @@ import json
269
  import torch
270
 
271
  from model import NeuralNet
272
- from nltk_utils import bag_of_words, tokenize
273
 
274
  device = torch.device('cuda' if torch.cuda.is_available() else 'cpu')
275
 
 
91
 
92
  import torch
93
  import torch.nn as nn
94
+ #from torch.utils.data import Dataset, DataLoader
95
 
96
  #2. Loading our JSON Data
97
  #from google.colab import drive #commented
 
122
  import nltk
123
  nltk.download('punkt')
124
 
125
+ #from nltk_utils import bag_of_words, tokenize, stem
126
 
127
  all_words = []
128
  tags = []
 
269
  import torch
270
 
271
  from model import NeuralNet
272
+ #from nltk_utils import bag_of_words, tokenize
273
 
274
  device = torch.device('cuda' if torch.cuda.is_available() else 'cpu')
275