Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
remove moondream add phi-4
Browse files
app.py
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
from
|
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,7 +37,7 @@ from utils import get_app
|
|
37 |
|
38 |
# Create mapping of providers to their demos
|
39 |
PROVIDERS = {
|
40 |
-
"
|
41 |
"OpenAI Coder": demo_openai_coder,
|
42 |
"Gemini Coder": demo_gemini_coder,
|
43 |
"OpenAI": demo_openai,
|
@@ -74,7 +74,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_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 |
|
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,
|
|
|
74 |
"NVIDIA": demo_nvidia,
|
75 |
}
|
76 |
|
77 |
+
demo = get_app(models=list(PROVIDERS.keys()), default_model="Phi-4", src=PROVIDERS, dropdown_label="Select Provider")
|
78 |
|
79 |
if __name__ == "__main__":
|
80 |
demo.queue(api_open=False).launch(show_api=False)
|