本網站在啟用 JavaScript 的情況下可以運作的更好。
首頁
探索
說明
註冊
登入
OpenSource
/
dify
關注
4
收藏
0
複製
0
程式碼
問題
0
合併請求
0
版本發佈
152
Wiki
活動
瀏覽代碼
minor fix: Object of type int64 is not JSON serializable (
#23109
)
tags/1.7.2
呆萌闷油瓶
3 月之前
父節點
6914c1c85e
當前提交
ab7c2cf000
沒有連結到貢獻者的電子郵件帳戶。
共有
1 個檔案被更改
,包括
1 行新增
和
1 行删除
分割檢視
顯示文件統計
1
1
api/services/annotation_service.py
+ 1
- 1
api/services/annotation_service.py
查看文件
@@ -280,7 +280,7 @@ class AppAnnotationService:
try:
# Skip the first row
df = pd.read_csv(file)
df = pd.read_csv(file
, dtype=str
)
result = []
for index, row in df.iterrows():
content = {"question": row.iloc[0], "answer": row.iloc[1]}
Write
Preview
Loading…
取消
儲存