mirror of
https://github.com/langgenius/dify.git
synced 2025-08-12 11:17:28 +00:00
minor fix: Object of type int64 is not JSON serializable (#23109)
This commit is contained in:
parent
6914c1c85e
commit
ab7c2cf000
@ -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]}
|
||||
|
Loading…
x
Reference in New Issue
Block a user