add new gemini model
Browse filesFiles changed (2)
- app.py+3-3
- app_gemini.py+2-1
27 unmodified lines28293031323352 unmodified lines86878889909192939427 unmodified linesfrom app_omini import demo as demo_ominiwith gr.Blocks(fill_height=True) as demo:with gr.Tab("Hyperbolic (New Meta Llama 3.3 70B)"):demo_hyperbolic.render()gr.Markdown(52 unmodified lineswith 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>.")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 lines28293031323334353652 unmodified lines89909192939427 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>.")with gr.Tab("Hyperbolic (New Meta Llama 3.3 70B)"):demo_hyperbolic.render()gr.Markdown(52 unmodified lineswith 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>.")
10 unmodified lines111213141516171810 unmodified lines"gemini-1.5-pro","gemini-exp-1114","gemini-exp-1121",],default_model="gemini-1.5-flash",src=gemini_gradio.registry,accept_token=not os.getenv("GEMINI_API_KEY"),)10 unmodified lines11121314151617181910 unmodified lines"gemini-1.5-pro","gemini-exp-1114","gemini-exp-1121","gemini-exp-1206",],default_model="gemini-exp-1206",src=gemini_gradio.registry,accept_token=not os.getenv("GEMINI_API_KEY"),)
app.py+3-3
app_gemini.py+2-1