Upload data.py with huggingface_hub
Browse files
data.py
CHANGED
@@ -44,7 +44,7 @@ for sud_ in os.listdir(file_path):
|
|
44 |
for x in data:
|
45 |
img_path = os.path.join(image_path,x[2]['path'])
|
46 |
## 在 Linux 放开
|
47 |
-
|
48 |
message = {
|
49 |
"role": "user",
|
50 |
"content": [
|
|
|
44 |
for x in data:
|
45 |
img_path = os.path.join(image_path,x[2]['path'])
|
46 |
## 在 Linux 放开
|
47 |
+
slove_images(x[2]['bytes'],img_path)
|
48 |
message = {
|
49 |
"role": "user",
|
50 |
"content": [
|