Update Image_text_generation.py
Browse files- Image_text_generation.py +1 -1
Image_text_generation.py
CHANGED
@@ -37,7 +37,7 @@ class Image_text_Generator:
|
|
37 |
return part.inline_data.data
|
38 |
return None
|
39 |
|
40 |
-
def upload_image_to_tmp(self):
|
41 |
"""
|
42 |
返回:
|
43 |
str: 上傳後的圖片 URL,如果上傳失敗則返回 None。
|
|
|
37 |
return part.inline_data.data
|
38 |
return None
|
39 |
|
40 |
+
def upload_image_to_tmp(self, image_binary):
|
41 |
"""
|
42 |
返回:
|
43 |
str: 上傳後的圖片 URL,如果上傳失敗則返回 None。
|