add hyperbolic coder
Browse filesFiles changed (6)
27 unmodified lines2829303132333435363738394027 unmodified linesfrom app_gemini_coder import demo as demo_gemini_coderfrom app_gemini import demo as demo_geminifrom app_gemini_voice import demo as demo_gemini_voicefrom app_hyperbolic_coder import demo as demo_hyperbolic_coderfrom utils import get_app
# Create mapping of providers to their demosPROVIDERS = { "Gemini Coder": demo_gemini_coder, "Hyperbolic Coder": demo_hyperbolic_coder, "DeepSeek": demo_deepseek, "OpenAI": demo_openai, "Compare": demo_compare,22 unmodified lines232425262722 unmodified lines fill_height=True,)
if __name__ == "__main__": demo.launch()23 unmodified lines242526272823 unmodified lines coder=True,)
if __name__ == "__main__": demo.launch()23 unmodified lines242526272823 unmodified lines fill_height=True,)
if __name__ == "__main__": demo.launch()1234567891011121314151617181920212223242526import ai_gradiofrom utils_ai_gradio import get_app
# Get the hyperbolic models but keep their full names for loadingHYPERBOLIC_MODELS_FULL = [ k for k in ai_gradio.registry.keys() if k.startswith('hyperbolic:')]
# Create display names without the prefixHYPERBOLIC_MODELS_DISPLAY = [ k.replace('hyperbolic:', '') for k in HYPERBOLIC_MODELS_FULL]
# Create and launch the interface using get_app utilitydemo = get_app( models=HYPERBOLIC_MODELS_FULL, # Use the full names with prefix default_model=HYPERBOLIC_MODELS_FULL[-1], dropdown_label="Select Hyperbolic Model", choices=HYPERBOLIC_MODELS_DISPLAY, # Display names without prefix fill_height=True, coder=True)
512 unmodified lines513514515516516517518519512 unmodified lines # via anychat (pyproject.toml)yarl==1.18.3 # via aiohttpai-gradio[deepseek,crewai,hyperbolic,openai,gemini]==0.1.9ai-gradio[deepseek,crewai,hyperbolic,openai,gemini]==0.2.0crewai==0.86.0instructor==1.3.3crewai-tools>=0.17.0app.py+2
app_gemini.py-2
app_gemini_coder.py-2
app_gemini_voice.py-2
app_hyperbolic_coder.pyAdded+26
requirements.txt+1-1