new grok model
Browse filesFiles changed (2)
- app.py+3-3
- app_xai.py+3-1
27 unmodified lines28293031323334353661 unmodified lines9899100989910010110210327 unmodified linesfrom app_omini import demo as demo_omini
with gr.Blocks(fill_height=True) as demo: with gr.Tab("Grok"): demo_grok.render() gr.Markdown("This app is built with gradio, check out gradio github and star: <a href='https://github.com/gradio-app/gradio'>Gradio <img src='https://img.shields.io/github/stars/gradio-app/gradio'></a>.") with gr.Tab("Gemini"): demo_gemini.render() gr.Markdown("This app is built with gradio, check out gradio github and star: <a href='https://github.com/gradio-app/gradio'>Gradio <img src='https://img.shields.io/github/stars/gradio-app/gradio'></a>.")61 unmodified lines with gr.Tab("PlayAI"): demo_playai.render() gr.Markdown("This app is built with gradio, check out gradio github and star: <a href='https://github.com/gradio-app/gradio'>Gradio <img src='https://img.shields.io/github/stars/gradio-app/gradio'></a>.") with gr.Tab("Grok"): demo_grok.render() gr.Markdown("This app is built with gradio, check out gradio github and star: <a href='https://github.com/gradio-app/gradio'>Gradio <img src='https://img.shields.io/github/stars/gradio-app/gradio'></a>.") with gr.Tab("ChatGPT"): demo_openai.render() gr.Markdown("This app is built with gradio, check out gradio github and star: <a href='https://github.com/gradio-app/gradio'>Gradio <img src='https://img.shields.io/github/stars/gradio-app/gradio'></a>.")7 unmodified lines891011121312141516177 unmodified lines models=[ "grok-beta", "grok-vision-beta", "grok-2-vision-1212", "grok-2-1212", ], default_model="grok-vision-beta", default_model="grok-2-vision-1212", src=xai_gradio.registry, accept_token=not os.getenv("XAI_API_KEY"),)app.py+3-3
app_xai.py+3-1