add fireworks
Browse filesFiles changed (2)
- app.py+35
- requirements.txt+2-1
6 unmodified lines78910111213284 unmodified lines2982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363376 unmodified linesimport hyperbolic_gradioimport perplexity_gradioimport mistral_gradioimport fireworks_gradio
284 unmodified lines Each model has different context window sizes (from 8k to 256k tokens) and specialized capabilities. """) with gr.Tab("Fireworks"): with gr.Row(): fireworks_model = gr.Dropdown( choices=[ 'f1-preview', # Latest F1 preview model 'f1-mini-preview', # Smaller, faster model ], value='f1-preview', # Default to preview model label="Select Fireworks Model", interactive=True ) fireworks_interface = gr.load( name=fireworks_model.value, src=fireworks_gradio.registry, fill_height=True ) def update_fireworks_model(new_model): return gr.load( name=new_model, src=fireworks_gradio.registry, fill_height=True ) fireworks_model.change( fn=update_fireworks_model, inputs=[fireworks_model], outputs=[fireworks_interface] ) gr.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)
4 unmodified lines5678894 unmodified linesxai-gradiohyperbolic-gradioperplexity-gradiomistral-gradiomistral-gradiogit+https://github.com/AK391/fireworks-ai-gradio.gitapp.py+35
requirements.txt+2-1