add minimax
Browse filesFiles changed (4)
- app.py+3-1
- app_minimax.pyAdded+22
- pyproject.toml+1-1
- requirements.txt+2-1
33 unmodified lines34353637383940414243444534 unmodified lines808182818384858633 unmodified linesfrom app_openai_coder import demo as demo_openai_coderfrom 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, "Langchain Agent": demo_langchain,34 unmodified lines
demo = get_app( models=list(PROVIDERS.keys()), default_model="Gemini Camera", default_model="Minimax", src=PROVIDERS, dropdown_label="Select Provider",)12345678910111213141516171819202122import 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,)
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]>=0.2.15", "ai-gradio[crewai,deepseek,gemini,groq,hyperbolic,openai,smolagents,transformers, langchain, mistral,minimax]>=0.2.16",]
[tool.uv.sources]1 unmodified line23455678981 unmodified lines9909919929939949959961 unmodified line# uv pip compile pyproject.toml -o requirements.txtaccelerate==1.2.1 # via ai-gradioai-gradio==0.2.15ai-gradio==0.2.16 # via anychat (pyproject.toml)aiofiles==23.2.1 # via gradio981 unmodified lines # via anychat (pyproject.toml)requests==2.32.3 # via # ai-gradio # auth0-python # cohere # crewai-toolsapp.py+3-1
app_minimax.pyAdded+22
pyproject.toml+1-1
requirements.txt+2-1