Spaces:
Running on CPU Upgrade

hysts HF staff commited on
Commit
267b04d
·
1 Parent(s): 5568b1a

Apply ruff to app.py

Browse files
Files changed (1) hide show
  1. app.py +19 -17
app.py CHANGED
@@ -1,37 +1,37 @@
1
- from app_lumaai import demo as demo_lumaai
2
  from app_allenai import demo as demo_allenai
3
  from app_claude import demo as demo_claude
4
  from app_cohere import demo as demo_cohere
 
 
 
5
  from app_experimental import demo as demo_experimental
6
  from app_fal import demo as demo_fal
7
  from app_fireworks import demo as demo_fireworks
 
 
 
 
 
8
  from app_huggingface import demo as demo_huggingface
 
 
 
9
  from app_meta import demo as demo_meta
10
  from app_mistral import demo as demo_mistral
11
  from app_nvidia import demo as demo_nvidia
12
  from app_omini import demo as demo_omini
 
 
13
  from app_paligemma import demo as demo_paligemma
14
  from app_perplexity import demo as demo_perplexity
15
  from app_playai import demo as demo_playai
 
16
  from app_replicate import demo as demo_replicate
17
  from app_sambanova import demo as demo_sambanova
18
  from app_showui import demo as demo_showui
 
19
  from app_together import demo as demo_together
20
  from app_xai import demo as demo_grok
21
- from app_qwen import demo as demo_qwen
22
- from app_deepseek import demo as demo_deepseek
23
- from app_crew import demo as demo_crew
24
- from app_compare import demo as demo_compare
25
- from app_hyperbolic import demo as demo_hyperbolic
26
- from app_openai import demo as demo_openai
27
- from app_gemini_coder import demo as demo_gemini_coder
28
- from app_gemini import demo as demo_gemini
29
- from app_gemini_voice import demo as demo_gemini_voice
30
- from app_hyperbolic_coder import demo as demo_hyperbolic_coder
31
- from app_smolagents import demo as demo_smolagents
32
- from app_groq import demo as demo_groq
33
- from app_groq_coder import demo as demo_groq_coder
34
- from app_openai_coder import demo as demo_openai_coder
35
  from utils import get_app
36
 
37
  # Create mapping of providers to their demos
@@ -46,7 +46,7 @@ PROVIDERS = {
46
  "SmolAgents": demo_smolagents,
47
  "DeepSeek": demo_deepseek,
48
  "Compare": demo_compare,
49
- "Qwen" : demo_qwen,
50
  "Hyperbolic": demo_hyperbolic,
51
  "CrewAI": demo_crew,
52
  "LumaAI": demo_lumaai,
@@ -72,7 +72,9 @@ PROVIDERS = {
72
  "NVIDIA": demo_nvidia,
73
  }
74
 
75
- demo = get_app(models=list(PROVIDERS.keys()), default_model="Gemini Coder", src=PROVIDERS, dropdown_label="Select Provider")
 
 
76
 
77
  if __name__ == "__main__":
78
  demo.queue(api_open=False).launch(show_api=False)
 
 
1
  from app_allenai import demo as demo_allenai
2
  from app_claude import demo as demo_claude
3
  from app_cohere import demo as demo_cohere
4
+ from app_compare import demo as demo_compare
5
+ from app_crew import demo as demo_crew
6
+ from app_deepseek import demo as demo_deepseek
7
  from app_experimental import demo as demo_experimental
8
  from app_fal import demo as demo_fal
9
  from app_fireworks import demo as demo_fireworks
10
+ from app_gemini import demo as demo_gemini
11
+ from app_gemini_coder import demo as demo_gemini_coder
12
+ from app_gemini_voice import demo as demo_gemini_voice
13
+ from app_groq import demo as demo_groq
14
+ from app_groq_coder import demo as demo_groq_coder
15
  from app_huggingface import demo as demo_huggingface
16
+ from app_hyperbolic import demo as demo_hyperbolic
17
+ from app_hyperbolic_coder import demo as demo_hyperbolic_coder
18
+ from app_lumaai import demo as demo_lumaai
19
  from app_meta import demo as demo_meta
20
  from app_mistral import demo as demo_mistral
21
  from app_nvidia import demo as demo_nvidia
22
  from app_omini import demo as demo_omini
23
+ from app_openai import demo as demo_openai
24
+ from app_openai_coder import demo as demo_openai_coder
25
  from app_paligemma import demo as demo_paligemma
26
  from app_perplexity import demo as demo_perplexity
27
  from app_playai import demo as demo_playai
28
+ from app_qwen import demo as demo_qwen
29
  from app_replicate import demo as demo_replicate
30
  from app_sambanova import demo as demo_sambanova
31
  from app_showui import demo as demo_showui
32
+ from app_smolagents import demo as demo_smolagents
33
  from app_together import demo as demo_together
34
  from app_xai import demo as demo_grok
 
 
 
 
 
 
 
 
 
 
 
 
 
 
35
  from utils import get_app
36
 
37
  # Create mapping of providers to their demos
 
46
  "SmolAgents": demo_smolagents,
47
  "DeepSeek": demo_deepseek,
48
  "Compare": demo_compare,
49
+ "Qwen": demo_qwen,
50
  "Hyperbolic": demo_hyperbolic,
51
  "CrewAI": demo_crew,
52
  "LumaAI": demo_lumaai,
 
72
  "NVIDIA": demo_nvidia,
73
  }
74
 
75
+ demo = get_app(
76
+ models=list(PROVIDERS.keys()), default_model="Gemini Coder", src=PROVIDERS, dropdown_label="Select Provider"
77
+ )
78
 
79
  if __name__ == "__main__":
80
  demo.queue(api_open=False).launch(show_api=False)