langchain agents are now part of ai-gradio

pip install --upgrade "ai-gradio[langchain]"

import gradio as gr
import ai_gradio 

demo = gr.load( "langchain:gpt-4-turbo",      src=ai_gradio.registry) 

demo.launch()