Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -362,7 +362,7 @@ def deepseek_extract_contract_summary(json_data, save_json=False, json_filename=
|
|
362 |
filtered_contract_data = {key: value for key, value in contract_data.items() if "long_table" not in key}
|
363 |
|
364 |
# Step 3: Convert back to JSON string (if needed)
|
365 |
-
json_output = json.dumps(
|
366 |
|
367 |
prompt = """You are given a contract in JSON format. Extract the following information:
|
368 |
|
|
|
362 |
filtered_contract_data = {key: value for key, value in contract_data.items() if "long_table" not in key}
|
363 |
|
364 |
# Step 3: Convert back to JSON string (if needed)
|
365 |
+
json_output = json.dumps(contract_data, ensure_ascii=False, indent=4)
|
366 |
|
367 |
prompt = """You are given a contract in JSON format. Extract the following information:
|
368 |
|