Spaces:
Running on CPU Upgrade

akhaliq HF staff commited on
Commit
e89c216
·
1 Parent(s): 657131e

add moondream

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -1,3 +1,4 @@
 
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,6 +37,7 @@ from utils import get_app
36
 
37
  # Create mapping of providers to their demos
38
  PROVIDERS = {
 
39
  "OpenAI Coder": demo_openai_coder,
40
  "Gemini Coder": demo_gemini_coder,
41
  "OpenAI": demo_openai,
@@ -72,7 +74,7 @@ PROVIDERS = {
72
  "NVIDIA": demo_nvidia,
73
  }
74
 
75
- demo = get_app(models=list(PROVIDERS.keys()), default_model="OpenAI 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_moondream import demo as demo_moondream
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
+ "MoonDream": demo_moondream,
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="MoonDream 2.0", src=PROVIDERS, dropdown_label="Select Provider")
78
 
79
  if __name__ == "__main__":
80
  demo.queue(api_open=False).launch(show_api=False)