Add nodriver to Gemini provider,

Add slim docker image with google-chrome usage,
Add the new docker images to publish worklow,
Update requirements.txt and pip requirements
This commit is contained in:
Heiner Lohaus
2024-11-17 11:06:37 +01:00
parent 6ce493d4df
commit ea1448001d
21 changed files with 240 additions and 145 deletions

View File

@@ -133,7 +133,7 @@ def extract_data_uri(data_uri: str) -> bytes:
Returns:
bytes: The extracted binary data.
"""
data = data_uri.split(",")[1]
data = data_uri.split(",")[-1]
data = base64.b64decode(data)
return data