pip install openai-gradio
import gradio as gr import openai_gradio gr.load( name='gpt-4-turbo', src=openai_gradio.registry, ).launch()