Spaces:
Sleeping
Sleeping
Toan2004-ai commited on
Commit ·
08c070a
1
Parent(s): 682ae26
add readme config
Browse files
engine.py
CHANGED
|
@@ -36,9 +36,7 @@ def final_process_eme_technical_guided(input_text):
|
|
| 36 |
|
| 37 |
distributor_value = original_input_data.get("distributor")
|
| 38 |
if not distributor_value and "geography" in original_input_data:
|
| 39 |
-
|
| 40 |
-
if dist_list and isinstance(dist_list, list):
|
| 41 |
-
distributor_value = dist_list[0]
|
| 42 |
if not distributor_value:
|
| 43 |
distributor_value = model_eligibility.get("distributor")
|
| 44 |
if isinstance(distributor_value, list) and len(distributor_value) > 0:
|
|
|
|
| 36 |
|
| 37 |
distributor_value = original_input_data.get("distributor")
|
| 38 |
if not distributor_value and "geography" in original_input_data:
|
| 39 |
+
distributor_value = original_input_data["geography"].get("distributors", [])
|
|
|
|
|
|
|
| 40 |
if not distributor_value:
|
| 41 |
distributor_value = model_eligibility.get("distributor")
|
| 42 |
if isinstance(distributor_value, list) and len(distributor_value) > 0:
|