mirror of
https://github.com/xtekky/gpt4free.git
synced 2025-12-06 02:30:41 -08:00
Add word count from iG8R
Improve Bing provider Some gui improvments Improve error handling in gui
This commit is contained in:
parent
14167671d4
commit
74a33f10dd
5 changed files with 122 additions and 119 deletions
|
|
@ -32,7 +32,7 @@ class GeminiPro(AsyncGeneratorProvider, ProviderModelMixin):
|
|||
connector: BaseConnector = None,
|
||||
**kwargs
|
||||
) -> AsyncResult:
|
||||
model = "gemini-pro-vision" if model is None and image is not None else model
|
||||
model = "gemini-pro-vision" if not model and image is not None else model
|
||||
model = cls.get_model(model)
|
||||
|
||||
if not api_key:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue