add minimax coder
Browse filesFiles changed (4)
- app.py+3-1
- app_minimax_coder.pyAdded+23
- pyproject.toml+1-1
- requirements.txt+1-1
34 unmodified lines35363738394041424344454635 unmodified lines828384838586878834 unmodified linesfrom app_langchain import demo as demo_langchainfrom app_mistral import demo as demo_mistralfrom app_minimax import demo as demo_minimaxfrom app_minimax_coder import demo as demo_minimax_coderfrom utils import get_app
# Create mapping of providers to their demosPROVIDERS = { "Minimax Coder": demo_minimax_coder, "Minimax": demo_minimax, "Gemini Camera": demo_gemini_camera, "Mistral": demo_mistral,35 unmodified lines
demo = get_app( models=list(PROVIDERS.keys()), default_model="Minimax", default_model="Minimax Coder", src=PROVIDERS, dropdown_label="Select Provider",)1234567891011121314151617181920212223import ai_gradio
from utils_ai_gradio import get_app
# Get the hyperbolic models but keep their full names for loadingMINIMAX_MODELS_FULL = [k for k in ai_gradio.registry.keys() if k.startswith("minimax:")]
# Create display names without the prefixMINIMAX_MODELS_DISPLAY = [k.replace("minimax:", "") for k in MINIMAX_MODELS_FULL]
# Create and launch the interface using get_app utilitydemo = get_app( models=MINIMAX_MODELS_FULL, # Use the full names with prefix default_model=MINIMAX_MODELS_FULL[0], dropdown_label="Select Minimax Model", choices=MINIMAX_MODELS_DISPLAY, # Display names without prefix fill_height=True, coder=True)
if __name__ == "__main__": demo.launch()37 unmodified lines383940414142434437 unmodified lines "langchain>=0.3.14", "chromadb>=0.5.23", "openai>=1.55.0", "ai-gradio[crewai,deepseek,gemini,groq,hyperbolic,openai,smolagents,transformers, langchain, mistral,minimax]>=0.2.16", "ai-gradio[crewai,deepseek,gemini,groq,hyperbolic,openai,smolagents,transformers, langchain, mistral,minimax]>=0.2.18",]
[tool.uv.sources]1 unmodified line234556781 unmodified line# uv pip compile pyproject.toml -o requirements.txtaccelerate==1.2.1 # via ai-gradioai-gradio==0.2.16ai-gradio==0.2.18 # via anychat (pyproject.toml)aiofiles==23.2.1 # via gradioapp.py+3-1
app_minimax_coder.pyAdded+23
pyproject.toml+1-1
requirements.txt+1-1