Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
update
Browse files
app.py
CHANGED
@@ -1,4 +1,3 @@
|
|
1 |
-
from app_transformers import demo as demo_transformers
|
2 |
from app_lumaai import demo as demo_lumaai
|
3 |
from app_allenai import demo as demo_allenai
|
4 |
from app_claude import demo as demo_claude
|
@@ -37,9 +36,8 @@ from utils import get_app
|
|
37 |
|
38 |
# Create mapping of providers to their demos
|
39 |
PROVIDERS = {
|
40 |
-
"Phi-4": demo_transformers,
|
41 |
-
"OpenAI Coder": demo_openai_coder,
|
42 |
"Gemini Coder": demo_gemini_coder,
|
|
|
43 |
"OpenAI": demo_openai,
|
44 |
"Gemini": demo_gemini,
|
45 |
"Gemini Voice": demo_gemini_voice,
|
@@ -74,7 +72,7 @@ PROVIDERS = {
|
|
74 |
"NVIDIA": demo_nvidia,
|
75 |
}
|
76 |
|
77 |
-
demo = get_app(models=list(PROVIDERS.keys()), default_model="
|
78 |
|
79 |
if __name__ == "__main__":
|
80 |
demo.queue(api_open=False).launch(show_api=False)
|
|
|
|
|
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
|
|
|
36 |
|
37 |
# Create mapping of providers to their demos
|
38 |
PROVIDERS = {
|
|
|
|
|
39 |
"Gemini Coder": demo_gemini_coder,
|
40 |
+
"OpenAI Coder": demo_openai_coder,
|
41 |
"OpenAI": demo_openai,
|
42 |
"Gemini": demo_gemini,
|
43 |
"Gemini Voice": demo_gemini_voice,
|
|
|
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)
|