add qwq
Browse filesFiles changed (4)
- app.py-11
- app_huggingface.py+2-2
- pyproject.toml+1-1
- requirements.txt+1-1
123458 unmodified lines14151617181920212223242526272829303132333435from app_huggingface import demo as demo_huggingfacefrom app_openrouter import demo as demo_openrouterfrom utils import get_appimport gradio as gr8 unmodified linescoder=True,provider="together").launch()""","OpenRouter Coder": """import gradio as grimport ai_gradiogr.load(name='openrouter:anthropic/claude-3.7-sonnet',src=ai_gradio.registry,coder=True).launch()""",# Add similar snippets for other providers}# Create mapping of providers to their demosPROVIDERS = {"Hugging Face": demo_huggingface,"OpenRouter Coder": demo_openrouter}# Modified get_app implementation12348 unmodified lines131415161718192021222324from app_huggingface import demo as demo_huggingfacefrom utils import get_appimport gradio as gr8 unmodified linescoder=True,provider="together").launch()""",# Add similar snippets for other providers}# Create mapping of providers to their demosPROVIDERS = {"Hugging Face": demo_huggingface,}# Modified get_app implementation
11 unmodified lines1213141516171819202111 unmodified lines# Create and launch the interface using get_app utilitydemo = get_app(models=HUGGINGFACE_MODELS_FULL, # Use the full names with prefixdefault_model=HUGGINGFACE_MODELS_FULL[0],dropdown_label="Select Huggingface Model",choices=HUGGINGFACE_MODELS_DISPLAY, # Display names without prefixfill_height=True,coder=True,provider="together")11 unmodified lines1213141516171819202111 unmodified lines# Create and launch the interface using get_app utilitydemo = get_app(models=HUGGINGFACE_MODELS_FULL, # Use the full names with prefixdefault_model=HUGGINGFACE_MODELS_FULL[16],dropdown_label="Select Huggingface Model",choices=HUGGINGFACE_MODELS_DISPLAY, # Display names without prefixfill_height=True,coder=True,provider="fireworks-ai")
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,nvidia, qwen, openrouter, huggingface]>=0.2.50",][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,nvidia, qwen, openrouter, huggingface]>=0.2.53",][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.50# 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.53# via anychat (pyproject.toml)aiofiles==23.2.1# via gradio
app.py-11
app_huggingface.py+2-2
pyproject.toml+1-1
requirements.txt+1-1