Spaces:
Build error
Build error
fix wrong import
Browse files
mathtext_fastapi/v2_conversation_manager.py
CHANGED
@@ -18,6 +18,7 @@ from transitions import Machine
|
|
18 |
|
19 |
from mathactive.generators import start_interactive_math
|
20 |
from mathactive.hints import generate_hint
|
|
|
21 |
|
22 |
load_dotenv()
|
23 |
|
@@ -122,7 +123,7 @@ def retrieve_microlesson_content(context_data, user_message, microlesson, contac
|
|
122 |
}
|
123 |
elif microlesson == 'addition2':
|
124 |
pass
|
125 |
-
# message_package =
|
126 |
elif context_data['local_state'] == 'subtraction-question-sequence' or \
|
127 |
user_message == 'subtract' or \
|
128 |
microlesson == 'subtraction':
|
|
|
18 |
|
19 |
from mathactive.generators import start_interactive_math
|
20 |
from mathactive.hints import generate_hint
|
21 |
+
from mathactive.microlessons import num_one
|
22 |
|
23 |
load_dotenv()
|
24 |
|
|
|
123 |
}
|
124 |
elif microlesson == 'addition2':
|
125 |
pass
|
126 |
+
# message_package = num_one.process_user_message(user_id, message_text, state)
|
127 |
elif context_data['local_state'] == 'subtraction-question-sequence' or \
|
128 |
user_message == 'subtract' or \
|
129 |
microlesson == 'subtraction':
|