akhaliq HF staff commited on
Commit
cb8b42f
·
1 Parent(s): 37cc307

add new o1 model

Browse files
Files changed (2) hide show
  1. app.py +1 -1
  2. app_openai.py +2 -1
app.py CHANGED
@@ -30,6 +30,7 @@ from utils import get_app
30
  PROVIDERS = {
31
  "Gemini Voice": demo_gemini_voice,
32
  "Gemini": demo_gemini,
 
33
  "Grok": demo_grok,
34
  "Cohere": demo_cohere,
35
  "SambaNova": demo_sambanova,
@@ -47,7 +48,6 @@ PROVIDERS = {
47
  "Fal": demo_fal,
48
  "ShowUI": demo_showui,
49
  "PlayAI": demo_playai,
50
- "ChatGPT": demo_openai,
51
  "Claude": demo_claude,
52
  "Allen AI": demo_allenai,
53
  "Perplexity": demo_perplexity,
 
30
  PROVIDERS = {
31
  "Gemini Voice": demo_gemini_voice,
32
  "Gemini": demo_gemini,
33
+ "ChatGPT": demo_openai,
34
  "Grok": demo_grok,
35
  "Cohere": demo_cohere,
36
  "SambaNova": demo_sambanova,
 
48
  "Fal": demo_fal,
49
  "ShowUI": demo_showui,
50
  "PlayAI": demo_playai,
 
51
  "Claude": demo_claude,
52
  "Allen AI": demo_allenai,
53
  "Perplexity": demo_perplexity,
app_openai.py CHANGED
@@ -24,8 +24,9 @@ demo = get_app(
24
  "gpt-4-1106-preview",
25
  "gpt-4",
26
  "gpt-4-0613",
 
27
  ],
28
- default_model="gpt-4o-2024-11-20",
29
  src=openai_gradio.registry,
30
  accept_token=not os.getenv("OPENAI_API_KEY"),
31
  )
 
24
  "gpt-4-1106-preview",
25
  "gpt-4",
26
  "gpt-4-0613",
27
+ "o1-2024-12-17",
28
  ],
29
+ default_model="o1-2024-12-17",
30
  src=openai_gradio.registry,
31
  accept_token=not os.getenv("OPENAI_API_KEY"),
32
  )