Spaces:
Build error
Build error
ShAnSantosh
commited on
Commit
•
4d66906
1
Parent(s):
fba58ed
Update app.py
Browse files
app.py
CHANGED
@@ -31,7 +31,7 @@ model_state = data["model_state"]
|
|
31 |
model = NeuralNet(input_size, hidden_size, output_size).to(device)
|
32 |
model.load_state_dict(model_state)
|
33 |
model.eval()
|
34 |
-
|
35 |
def predict(sentence, history=[]):
|
36 |
"""
|
37 |
# tokenize the new input sentence
|
|
|
31 |
model = NeuralNet(input_size, hidden_size, output_size).to(device)
|
32 |
model.load_state_dict(model_state)
|
33 |
model.eval()
|
34 |
+
#test
|
35 |
def predict(sentence, history=[]):
|
36 |
"""
|
37 |
# tokenize the new input sentence
|