Spaces:
Running on CPU Upgrade

File size: 3,049 Bytes
47d6cc1
7360ef0
 
fbf79e5
0351c24
7360ef0
0a632f8
7360ef0
 
0a632f8
 
7360ef0
 
0a632f8
7360ef0
 
0a632f8
7360ef0
0a632f8
 
47d6cc1
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7360ef0
c919a10
70fbba8
 
8146464
2eb382e
d3e483f
43e0d33
 
 
8373221
260dae3
cd6615a
4f928db
1d9fb1e
267b04d
4126f3f
32656c9
97e0f7f
890265a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7360ef0
890265a
33e7a65
267b04d
8146464
 
 
 
267b04d
16d456d
0a632f8
39a8e63
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
from app_lumaai import demo as demo_lumaai
from app_allenai import demo as demo_allenai
from app_claude import demo as demo_claude
from app_cohere import demo as demo_cohere
from app_experimental import demo as demo_experimental
from app_fal import demo as demo_fal
from app_fireworks import demo as demo_fireworks
from app_huggingface import demo as demo_huggingface
from app_meta import demo as demo_meta
from app_mistral import demo as demo_mistral
from app_nvidia import demo as demo_nvidia
from app_omini import demo as demo_omini
from app_paligemma import demo as demo_paligemma
from app_perplexity import demo as demo_perplexity
from app_playai import demo as demo_playai
from app_replicate import demo as demo_replicate
from app_sambanova import demo as demo_sambanova
from app_showui import demo as demo_showui
from app_together import demo as demo_together
from app_xai import demo as demo_grok
from app_qwen import demo as demo_qwen
from app_deepseek import demo as demo_deepseek
from app_crew import demo as demo_crew
from app_compare import demo as demo_compare
from app_hyperbolic import demo as demo_hyperbolic
from app_openai import demo as demo_openai
from app_gemini_camera import demo as demo_gemini_camera
from app_gemini_coder import demo as demo_gemini_coder
from app_gemini import demo as demo_gemini
from app_gemini_voice import demo as demo_gemini_voice
from app_hyperbolic_coder import demo as demo_hyperbolic_coder
from app_smolagents import demo as demo_smolagents
from app_groq import demo as demo_groq
from app_groq_coder import demo as demo_groq_coder
from app_openai_coder import demo as demo_openai_coder
from utils import get_app

# Create mapping of providers to their demos
PROVIDERS = {
    "Gemini Camera": demo_gemini_camera,
    "Gemini Coder": demo_gemini_coder,
    "OpenAI Coder": demo_openai_coder,
    "OpenAI": demo_openai,
    "Gemini": demo_gemini,
    "Gemini Voice": demo_gemini_voice,
    "Groq Coder": demo_groq_coder,
    "Hyperbolic Coder": demo_hyperbolic_coder,
    "SmolAgents": demo_smolagents,
    "DeepSeek": demo_deepseek,
    "Compare": demo_compare,
    "Qwen": demo_qwen,
    "Hyperbolic": demo_hyperbolic,
    "CrewAI": demo_crew,
    "LumaAI": demo_lumaai,
    "Grok": demo_grok,
    "Cohere": demo_cohere,
    "SambaNova": demo_sambanova,
    "OminiControl": demo_omini,
    "Fireworks": demo_fireworks,
    "Together": demo_together,
    "Groq": demo_groq,
    "Meta Llama": demo_meta,
    "Paligemma": demo_paligemma,
    "Replicate": demo_replicate,
    "Huggingface": demo_huggingface,
    "Fal": demo_fal,
    "ShowUI": demo_showui,
    "PlayAI": demo_playai,
    "Claude": demo_claude,
    "Allen AI": demo_allenai,
    "Perplexity": demo_perplexity,
    "Experimental": demo_experimental,
    "Mistral": demo_mistral,
    "NVIDIA": demo_nvidia,
}

demo = get_app(
    models=list(PROVIDERS.keys()),
    default_model="Gemini Camera",
    src=PROVIDERS,
    dropdown_label="Select Provider",
)

if __name__ == "__main__":
    demo.queue(api_open=False).launch(show_api=False)