mjbuehler commited on
Commit
0fb72d5
·
verified ·
1 Parent(s): 1954a89

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -2
app.py CHANGED
@@ -555,6 +555,9 @@ STANDARD_TEXT_MODELS = [
555
  "gpt-5.2",
556
  "gpt-5.2-pro",
557
  "gpt-5.5",
 
 
 
558
  "gpt-5",
559
  "gpt-5-mini",
560
  "gpt-4o-2024-08-06",
@@ -667,7 +670,7 @@ def conditional_llm(
667
  def generate_audio(
668
  files: list,
669
  openai_api_key: str = None,
670
- text_model: str = "gpt-5.5", #o1-2024-12-17", #"o1-preview-2024-09-12",
671
  reasoning_effort: str = "N/A",
672
  do_web_search: bool = False,
673
  audio_model: str = "tts-1",
@@ -1021,7 +1024,7 @@ with gr.Blocks(title="PDF to Audio", css="""
1021
  text_model = gr.Dropdown(
1022
  label="Text Generation Model",
1023
  choices=STANDARD_TEXT_MODELS,
1024
- value="gpt-5.5", #"o3-mini", #"o4-mini", #"o1-preview-2024-09-12", #"gpt-4o-mini",
1025
  info="Select the model to generate the dialogue text.",
1026
  )
1027
  reasoning_effort = gr.Dropdown(
 
555
  "gpt-5.2",
556
  "gpt-5.2-pro",
557
  "gpt-5.5",
558
+ "gpt-5.6-sol",
559
+ "gpt-5.6-terra",
560
+ "gpt-5.6-luna",
561
  "gpt-5",
562
  "gpt-5-mini",
563
  "gpt-4o-2024-08-06",
 
670
  def generate_audio(
671
  files: list,
672
  openai_api_key: str = None,
673
+ text_model: str = "gpt-5.6-sol", #o1-2024-12-17", #"o1-preview-2024-09-12",
674
  reasoning_effort: str = "N/A",
675
  do_web_search: bool = False,
676
  audio_model: str = "tts-1",
 
1024
  text_model = gr.Dropdown(
1025
  label="Text Generation Model",
1026
  choices=STANDARD_TEXT_MODELS,
1027
+ value="gpt-5.6-sol", #"o3-mini", #"o4-mini", #"o1-preview-2024-09-12", #"gpt-4o-mini",
1028
  info="Select the model to generate the dialogue text.",
1029
  )
1030
  reasoning_effort = gr.Dropdown(