Update app.py
Browse files
app.py
CHANGED
|
@@ -627,7 +627,9 @@ def process_question(question: str, current_session_id: str):
|
|
| 627 |
len(categories) > 0 or
|
| 628 |
detect_response_type(question) == "support" or
|
| 629 |
any(k in question.lower() for k in ACTION_KEYWORDS) or
|
| 630 |
-
any(k in question.lower() for k in
|
|
|
|
|
|
|
| 631 |
)
|
| 632 |
|
| 633 |
if not is_acting_related:
|
|
|
|
| 627 |
len(categories) > 0 or
|
| 628 |
detect_response_type(question) == "support" or
|
| 629 |
any(k in question.lower() for k in ACTION_KEYWORDS) or
|
| 630 |
+
any(k in question.lower() for k in DETAIL_SYNONYMS) or
|
| 631 |
+
any(k in question.lower() for k in ['class', 'workshop', 'coaching', 'studio', 'acting', 'online', 'person', 'atlanta', 'training', 'prefer', 'preference', 'format', 'recommendation', 'online class', 'online workshop','instudio class','instudio workshop', 'actor', 'scene', 'audition', 'theatre', 'film', 'tv', 'commercial', 'agent', 'rep', 'manager']) or
|
| 632 |
+
(has_session_context and len(question.split()) <= 10)
|
| 633 |
)
|
| 634 |
|
| 635 |
if not is_acting_related:
|