构建mars_toolkit,删除tools_for_ms
This commit is contained in:
@@ -190,7 +190,7 @@ def worker(data, output_file_path):
|
||||
|
||||
# 将所有格式化后的结果连接起来
|
||||
final_result = "\n\n\n".join(formatted_results)
|
||||
data['obeservation']=final_result
|
||||
data['observation']=final_result
|
||||
# print("#"*50,"start","#"*50)
|
||||
# print(data['obeservation'])
|
||||
# print("#"*50,'end',"#"*50)
|
||||
@@ -199,7 +199,7 @@ def worker(data, output_file_path):
|
||||
|
||||
with file_lock:
|
||||
with jsonlines.open(output_file_path, mode='a') as writer:
|
||||
writer.write(data) # obeservation . data
|
||||
writer.write(data) # observation . data
|
||||
return f"Processed successfully"
|
||||
|
||||
except Exception as e:
|
||||
|
||||
Reference in New Issue
Block a user