mirror of
https://github.com/xtekky/gpt4free.git
synced 2024-11-19 03:25:32 +00:00
Merge pull request #1146 from AndPim4912/GetGpt-debian-compat
Update GetGpt provider for Debian python3-pycryptodome compatibility
This commit is contained in:
commit
6363353670
@ -5,7 +5,10 @@ import os
|
||||
import uuid
|
||||
|
||||
import requests
|
||||
from Crypto.Cipher import AES
|
||||
try:
|
||||
from Crypto.Cipher import AES
|
||||
except ImportError:
|
||||
from Cryptodome.Cipher import AES
|
||||
|
||||
from ...typing import Any, CreateResult
|
||||
from ..base_provider import BaseProvider
|
||||
|
Loading…
Reference in New Issue
Block a user