mirror of
https://github.com/xtekky/gpt4free.git
synced 2024-12-25 12:16:17 +03:00
Update You.py
This commit is contained in:
parent
a5f7eeb63a
commit
604daf0377
@ -55,7 +55,7 @@ class You(AsyncGeneratorProvider, ProviderModelMixin):
|
|||||||
**kwargs,
|
**kwargs,
|
||||||
) -> AsyncResult:
|
) -> AsyncResult:
|
||||||
if not has_curl_cffi:
|
if not has_curl_cffi:
|
||||||
raise MissingRequirementsError('Install "curl_cffi" package')
|
raise MissingRequirementsError('Install or update "curl_cffi" package | pip install -U curl_cffi')
|
||||||
if image is not None:
|
if image is not None:
|
||||||
chat_mode = "agent"
|
chat_mode = "agent"
|
||||||
elif not model or model == cls.default_model:
|
elif not model or model == cls.default_model:
|
||||||
|
Loading…
Reference in New Issue
Block a user