mirror of
https://github.com/modelscope/modelscope.git
synced 2026-02-24 20:19:51 +01:00
set fetch_meta_files_from_url to gbk
This commit is contained in:
@@ -713,7 +713,7 @@ class HubApi:
|
||||
else:
|
||||
with_header = False
|
||||
chunk_df = pd.DataFrame(chunk)
|
||||
chunk_df.to_csv(f, index=False, header=with_header)
|
||||
chunk_df.to_csv(f, index=False, header=with_header, encoding='gbk')
|
||||
iter_num += 1
|
||||
else:
|
||||
# csv or others
|
||||
|
||||
Reference in New Issue
Block a user