add cerebras
Browse filesFiles changed (2)
7 unmodified lines891011121314343 unmodified lines3583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893907 unmodified linesimport perplexity_gradioimport mistral_gradioimport fireworks_gradioimport cerebras_gradio
343 unmodified lines gr.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 model label="Select Cerebras Model", interactive=True ) cerebras_interface = gr.load( name=cerebras_model.value, src=cerebras_gradio.registry, accept_token=True, # Added token acceptance fill_height=True ) def update_cerebras_model(new_model): return gr.load( name=new_model, src=cerebras_gradio.registry, accept_token=True, # Added token acceptance fill_height=True )
demo.launch(ssr_mode=False)
6 unmodified lines789106 unmodified linesperplexity-gradiomistral-gradiogit+https://github.com/AK391/fireworks-ai-gradio.gitgit+https://github.com/gradio-app/cerebras_gradio.gitapp.py+28
requirements.txt+1