new grok model
Browse filesFiles changed (2)
- app.py+3-3
- app_xai.py+3-1
27 unmodified lines28293031323361 unmodified lines959697989910010110210327 unmodified linesfrom app_omini import demo as demo_ominiwith gr.Blocks(fill_height=True) as demo: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 lineswith 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>.")27 unmodified lines28293031323334353661 unmodified lines989910010110210327 unmodified linesfrom app_omini import demo as demo_ominiwith 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 lineswith 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("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 lines891011121314157 unmodified linesmodels=["grok-beta","grok-vision-beta",],default_model="grok-vision-beta",src=xai_gradio.registry,accept_token=not os.getenv("XAI_API_KEY"),)7 unmodified lines8910111213141516177 unmodified linesmodels=["grok-beta","grok-vision-beta","grok-2-vision-1212","grok-2-1212",],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