add cohere
Browse filesFiles changed (3)
- app.py+6-2
- app_cohere.pyAdded+21
- requirements.txt+2
1234524 unmodified lines30313233343536373839import gradio as grfrom app_meta import demo as demo_metafrom app_lumaai import demo as demo_lumaaifrom app_paligemma import demo as demo_paligemma24 unmodified lineswith 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>.")with gr.Tab("SambaNova (New Meta-Llama-3.3-70B-Instruct)"):demo_sambanova.render()gr.Markdown(12345624 unmodified lines31323334353637383940414243import gradio as grfrom app_cohere import demo as demo_coherefrom app_meta import demo as demo_metafrom app_lumaai import demo as demo_lumaaifrom app_paligemma import demo as demo_paligemma24 unmodified lineswith 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>")with gr.Tab("Cohere"):demo_cohere.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("SambaNova (New Meta-Llama-3.3-70B-Instruct)"):demo_sambanova.render()gr.Markdown(
123456789101112131415161718192021import os
import cohere_gradio
from utils import get_app
demo = get_app( models=[ "command-r", "command-r-08-2024", "command-r-plus", "command-r-plus-08-2024", "command-r7b-12-2024", ], default_model="command-r7b-12-2024", src=cohere_gradio.registry, accept_token=not os.getenv("COHERE_API_KEY"),)
if __name__ == "__main__": demo.launch()397 unmodified lines398399400397 unmodified linesplayai-gradio @ git+https://github.com/AK391/playai-gradio.gitlumaai-gradio @ git+https://github.com/AK391/lumaai-gradio.git397 unmodified lines398399400401402397 unmodified linesplayai-gradio @ git+https://github.com/AK391/playai-gradio.gitlumaai-gradio @ git+https://github.com/AK391/lumaai-gradio.gitcohere-gradio @ git+https://github.com/AK391/cohere-gradio.git
app.py+6-2
app_cohere.pyAdded+21
requirements.txt+2