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 lines3536373839404142434435 unmodified lines8081828384858634 unmodified linesfrom app_langchain import demo as demo_langchainfrom app_mistral import demo as demo_mistralfrom app_minimax import demo as demo_minimaxfrom utils import get_app# Create mapping of providers to their demosPROVIDERS = {"Minimax": demo_minimax,"Gemini Camera": demo_gemini_camera,"Mistral": demo_mistral,35 unmodified linesdemo = get_app(models=list(PROVIDERS.keys()),default_model="Minimax",src=PROVIDERS,dropdown_label="Select Provider",)34 unmodified lines35363738394041424344454635 unmodified lines8283848586878834 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 linesdemo = get_app(models=list(PROVIDERS.keys()),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 lines3839404142434437 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",][tool.uv.sources]37 unmodified lines3839404142434437 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.18",][tool.uv.sources]
1 unmodified line23456781 unmodified line# uv pip compile pyproject.toml -o requirements.txtaccelerate==1.2.1# via ai-gradioai-gradio==0.2.16# via anychat (pyproject.toml)aiofiles==23.2.1# via gradio1 unmodified line23456781 unmodified line# uv pip compile pyproject.toml -o requirements.txtaccelerate==1.2.1# via ai-gradioai-gradio==0.2.18# via anychat (pyproject.toml)aiofiles==23.2.1# via gradio
app.py+3-1
app_minimax_coder.pyAdded+23
pyproject.toml+1-1
requirements.txt+1-1