Skip to content

Commit 806ccce

Browse files
[FIX] Llama parse write to output path for API deployments. (#149)
* Exception handling for Prompt Service * Fixing llama parse for deployments
1 parent 9a9b6a8 commit 806ccce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/unstract/sdk/adapters/x2text/llama_parse/src/llama_parse.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ def _call_parser(
7272
fs.write(
7373
path=input_file_path,
7474
data=text_content,
75-
mode="w",
75+
mode="wb",
7676
encoding="utf-8",
7777
)
7878
except OSError as os_err:

0 commit comments

Comments
 (0)