rogerxavier
commited on
Commit
•
598f79e
1
Parent(s):
be2a33b
Update 2magiDialogCut.py
Browse files- 2magiDialogCut.py +1 -1
2magiDialogCut.py
CHANGED
@@ -33,7 +33,7 @@ def getImgCoordinatesByMagi(image_path:"包含后缀的文件路径") -> "全部
|
|
33 |
try:
|
34 |
resp = requests.post(magi_fastapi_base, files=files, headers=headers) ##是仓库public后好像就api可用了
|
35 |
print(resp.json())
|
36 |
-
return resp.json()["
|
37 |
except Exception as e:
|
38 |
print(e)
|
39 |
return None #意外情况返回
|
|
|
33 |
try:
|
34 |
resp = requests.post(magi_fastapi_base, files=files, headers=headers) ##是仓库public后好像就api可用了
|
35 |
print(resp.json())
|
36 |
+
return resp.json()["panels"]
|
37 |
except Exception as e:
|
38 |
print(e)
|
39 |
return None #意外情况返回
|