dynamic-learning-model 3.4.0__tar.gz → 3.4.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: dynamic-learning-model
3
- Version: 3.4.0
3
+ Version: 3.4.1
4
4
  Summary: A Dynamic Learning Model for processing NLP queries using hybrid AI and reasoning.
5
5
  Home-page: https://github.com/VigneshT24/Dynamic_Learning_Model
6
6
  Author: Vignesh Thondikulam
@@ -920,12 +920,10 @@ class DLM:
920
920
  self.__query = input("Empty input is unacceptable. Please enter something: ")
921
921
 
922
922
  self.__set_sentiment_tone(self.__query) # sets global variable sentiment tone
923
- while self.__refuse_to_respond:
923
+ if self.__refuse_to_respond:
924
924
  print()
925
- self.__query = input(random.choice(self.__refuse_to_respond_statements) + "\nTry again: ")
926
- while self.__query is None or self.__query == "":
927
- self.__query = input("Empty input is unacceptable. Please enter something: ")
928
- self.__set_sentiment_tone(self.__query)
925
+ print(random.choice(self.__refuse_to_respond_statements))
926
+ return
929
927
 
930
928
  # auto model choose using HuggingFace
931
929
  if self.__mode != "learn":
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: dynamic-learning-model
3
- Version: 3.4.0
3
+ Version: 3.4.1
4
4
  Summary: A Dynamic Learning Model for processing NLP queries using hybrid AI and reasoning.
5
5
  Home-page: https://github.com/VigneshT24/Dynamic_Learning_Model
6
6
  Author: Vignesh Thondikulam
@@ -5,7 +5,7 @@ with open('README.md', 'r', encoding='utf-8') as f:
5
5
 
6
6
  setup(
7
7
  name='dynamic-learning-model',
8
- version='3.4.0',
8
+ version='3.4.1',
9
9
  author='Vignesh Thondikulam',
10
10
  author_email='vignesh.tho2006@gmail.com',
11
11
  description='A Dynamic Learning Model for processing NLP queries using hybrid AI and reasoning.',