tbdavid2019 commited on
Commit
9c39bab
·
1 Parent(s): 3614d2f

更新說明

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -550,13 +550,13 @@ with gr.Blocks(title="PDF to Audio", css="""
550
  openai_api_key = gr.Textbox(
551
  label="OpenAI API Key",
552
  visible=True, # Always show the API key field
553
- placeholder="Enter your OpenAI API Key here...",
554
  type="password" # Hide the API key input
555
  )
556
  text_model = gr.Dropdown(
557
  label="Text Generation Model",
558
  choices=STANDARD_TEXT_MODELS,
559
- value="o1-preview-2024-09-12", #"gpt-4o-mini",
560
  info="Select the model to generate the dialogue text.",
561
  )
562
  audio_model = gr.Dropdown(
 
550
  openai_api_key = gr.Textbox(
551
  label="OpenAI API Key",
552
  visible=True, # Always show the API key field
553
+ placeholder="這行不用填 已經從環境變數讀入",
554
  type="password" # Hide the API key input
555
  )
556
  text_model = gr.Dropdown(
557
  label="Text Generation Model",
558
  choices=STANDARD_TEXT_MODELS,
559
+ value="o1-preview", #"gpt-4o-mini",
560
  info="Select the model to generate the dialogue text.",
561
  )
562
  audio_model = gr.Dropdown(