Update app.py
Browse files
app.py
CHANGED
|
@@ -741,6 +741,7 @@
|
|
| 741 |
|
| 742 |
|
| 743 |
|
|
|
|
| 744 |
import sys
|
| 745 |
import re
|
| 746 |
import os
|
|
@@ -890,7 +891,7 @@ def rule_based_classify(text):
|
|
| 890 |
print("DEBUG: No match, unknown")
|
| 891 |
return -1
|
| 892 |
|
| 893 |
-
|
| 894 |
def classify_intent(text):
|
| 895 |
# Try rules first (reliable without training)
|
| 896 |
rule_intent = rule_based_classify(text)
|
|
|
|
| 741 |
|
| 742 |
|
| 743 |
|
| 744 |
+
|
| 745 |
import sys
|
| 746 |
import re
|
| 747 |
import os
|
|
|
|
| 891 |
print("DEBUG: No match, unknown")
|
| 892 |
return -1
|
| 893 |
|
| 894 |
+
|
| 895 |
def classify_intent(text):
|
| 896 |
# Try rules first (reliable without training)
|
| 897 |
rule_intent = rule_based_classify(text)
|