mirror of
https://github.com/xtekky/gpt4free.git
synced 2025-10-16 21:30:40 +08:00
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:
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user