add cerebras
Browse filesFiles changed (2)
7 unmodified lines8910111213343 unmodified lines3573583593603613627 unmodified linesimport perplexity_gradioimport mistral_gradioimport fireworks_gradio343 unmodified linesgr.Markdown("""**Note:** You need a Fireworks AI API key to use these models. Get one at [Fireworks AI](https://app.fireworks.ai/).""")demo.launch(ssr_mode=False)7 unmodified lines891011121314343 unmodified lines3583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893907 unmodified linesimport perplexity_gradioimport mistral_gradioimport fireworks_gradioimport cerebras_gradio343 unmodified linesgr.Markdown("""**Note:** You need a Fireworks AI API key to use these models. Get one at [Fireworks AI](https://app.fireworks.ai/).""")with gr.Tab("Cerebras"):with gr.Row():cerebras_model = gr.Dropdown(choices=['llama3.1-8b','llama3.1-70b','llama3.1-405b'],value='llama3.1-70b', # Default to mid-size modellabel="Select Cerebras Model",interactive=True)cerebras_interface = gr.load(name=cerebras_model.value,src=cerebras_gradio.registry,accept_token=True, # Added token acceptancefill_height=True)def update_cerebras_model(new_model):return gr.load(name=new_model,src=cerebras_gradio.registry,accept_token=True, # Added token acceptancefill_height=True)demo.launch(ssr_mode=False)
6 unmodified lines7896 unmodified linesperplexity-gradiomistral-gradiogit+https://github.com/AK391/fireworks-ai-gradio.git6 unmodified lines789106 unmodified linesperplexity-gradiomistral-gradiogit+https://github.com/AK391/fireworks-ai-gradio.gitgit+https://github.com/gradio-app/cerebras_gradio.git
app.py+28
requirements.txt+1