mirror of
https://github.com/hexastack/hexabot
synced 2025-02-03 03:25:01 +00:00
fix: uncase input text
This commit is contained in:
parent
68cb90534f
commit
476dc510ea
@ -172,7 +172,7 @@ class SlotFiller(tfbp.Model):
|
|||||||
def predict(self):
|
def predict(self):
|
||||||
while True:
|
while True:
|
||||||
text = input("Provide text: ")
|
text = input("Provide text: ")
|
||||||
info = self.get_prediction(text)
|
info = self.get_prediction(text.lower())
|
||||||
|
|
||||||
print(self.summary())
|
print(self.summary())
|
||||||
print("Text : " + text)
|
print("Text : " + text)
|
||||||
|
Loading…
Reference in New Issue
Block a user