File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -239,7 +239,7 @@ def prompt(
239239 "promptType" : None ,
240240 "artifactRewriteOptions" : None ,
241241 "imagineOperationRequest" : None ,
242- "imagineClientOptions" : {"orientation" : orientation .upper () if orientation else "VERTICAL" },
242+ "imagineClientOptions" : {"orientation" : str ( orientation ) .upper () if orientation else "VERTICAL" },
243243 "spaceId" : None ,
244244 "sparkSnapshotId" : None ,
245245 "topicPageId" : None ,
Original file line number Diff line number Diff line change @@ -236,7 +236,7 @@ def create_video_generation_request(
236236 "promptType" : None ,
237237 "artifactRewriteOptions" : None ,
238238 "imagineOperationRequest" : None ,
239- "imagineClientOptions" : {"orientation" : orientation .upper () if orientation else "VERTICAL" },
239+ "imagineClientOptions" : {"orientation" : str ( orientation ) .upper () if orientation else "VERTICAL" },
240240 "spaceId" : None ,
241241 "sparkSnapshotId" : None ,
242242 "topicPageId" : None ,
You can’t perform that action at this time.
0 commit comments