You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
importgradioasgrimportai_gradio# Create a browser automation interfacegr.load(
name='browser:gpt-4-turbo',
src=ai_gradio.registry,
title='AI Browser Assistant',
description='Let AI help with web tasks'
).launch()
The name='browser:gpt-4-turbo', doesn't work.
I get this error:
Traceback (most recent call last):
File "/Users/adriaanbalt/PROJECTS/operator/ai_browser.py", line 5, in<module>
gr.load(
File "/usr/local/anaconda3/envs/operator/lib/python3.11/site-packages/ai_gradio/providers/__init__.py", line 16, in custom_load
raise ValueError(f"Model {model_key} not found. Available models: {available_models}")
ValueError: Model browser:gpt-4-turbo not found. Available models: ['openai:gpt-4-turbo', 'openai:gpt-4', 'openai:gpt-3.5-turbo', 'gemini:gemini-pro', 'gemini:gemini-pro-vision', 'gemini:gemini-2.0-flash-exp', 'crewai:gpt-4-turbo', 'crewai:gpt-4', 'crewai:gpt-3.5-turbo']
When I go deeper into what is installed from pip I noticed that the provider folder only includes openai, crewai, gemini. None of the other providers that are within the provider folder are available. Maybe I am downloading the wrong version with pip install ai-gradio and pip install 'ai-gradio[all]'?
If instead of using the remote ai-gradio I fork this project to my local machine and reference the local version I get this error when using browser:gpt-4-turbo:
In the example:
The
name='browser:gpt-4-turbo',
doesn't work.I get this error:
When I go deeper into what is installed from pip I noticed that the provider folder only includes openai, crewai, gemini. None of the other providers that are within the provider folder are available. Maybe I am downloading the wrong version with
pip install ai-gradio
andpip install 'ai-gradio[all]'
?If instead of using the remote
ai-gradio
I fork this project to my local machine and reference the local version I get this error when usingbrowser:gpt-4-turbo
:So it seems like even the version that is in Github isn't working.
I'm excited to mess around with the browser functionality of this project. Thanks so much for working on this!
The text was updated successfully, but these errors were encountered: