Skip to content

Commit 5a46008

Browse files
committed
edit spreadsheet name
1 parent 7fb331b commit 5a46008

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

examples/dify/test_bank_report_client.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,13 +43,13 @@ async def main() -> None:
4343
# Set default values for parameters
4444
api_key = 'app-eoW3l7V3CyWX9H78FbBGTrje' # API key
4545
user_id = '[email protected]' # User ID
46-
bank_statement_path = '银行流水例子.xlsx' # Path to the bank statement file
46+
bank_statement_path = 'bank_statement.xlsx' # Path to the bank statement file
4747

4848
# Check if the file exists
4949
if not os.path.exists(bank_statement_path):
5050
# Try relative path from the script location
5151
script_dir = os.path.dirname(os.path.abspath(__file__))
52-
bank_statement_path = os.path.join(script_dir, '银行流水例子.xlsx')
52+
bank_statement_path = os.path.join(script_dir, 'bank_statement.xlsx')
5353
if not os.path.exists(bank_statement_path):
5454
print(f'Error: File {bank_statement_path} not found!')
5555
return
@@ -61,7 +61,6 @@ async def main() -> None:
6161

6262
async with httpx.AsyncClient() as httpx_client:
6363
# First, upload the bank statement file
64-
# if not file_id:
6564
print(f'Uploading file {bank_statement_path}...')
6665
try:
6766
upload_response = await upload_file(

0 commit comments

Comments
 (0)