From 3811a54242fd1adc6cad960c338815ab30f1638b Mon Sep 17 00:00:00 2001 From: hailin Date: Fri, 25 Oct 2024 14:44:06 +0800 Subject: [PATCH] . --- app.py | 2 ++ caller.py | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/app.py b/app.py index 65bca58..f82cbff 100644 --- a/app.py +++ b/app.py @@ -45,6 +45,8 @@ def update_customers(index): if 0 <= index < len(customer_data): customer = customer_data[index] for domain, info in customer.items(): + print(f"..........domain={domain}") + print(f"..........info={info}") if 'customer_industry' in info: info['customer_industry'] = updated_data.get(f'{domain}_industry', [info['customer_industry']])[0] diff --git a/caller.py b/caller.py index 3b30965..88740d3 100644 --- a/caller.py +++ b/caller.py @@ -114,6 +114,5 @@ if not ret: exit("客服AI员工不能拥有数据库。") customer_data=buf[key]['customer database'] -print(f"..........customer_data={customer_data}") app.set_customer_data(customer_data) app.app.run(host="0.0.0.0", port=5001)