add cohere
Browse filesFiles changed (3)
- app.py+6-2
- app_cohere.pyAdded+21
- requirements.txt+2
12345624 unmodified lines313233333435363637383940414243import gradio as gr
from 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>.") 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>.") 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 lines398399400401402397 unmodified linesplayai-gradio @ git+https://github.com/AK391/playai-gradio.git
lumaai-gradio @ git+https://github.com/AK391/lumaai-gradio.git
cohere-gradio @ git+https://github.com/AK391/cohere-gradio.gitapp.py+6-2
app_cohere.pyAdded+21
requirements.txt+2