whyu commited on
Commit
5d06bec
·
1 Parent(s): 08d0a4e

chagne gpt-4-turbo as default model in the demo to save fee

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -378,8 +378,8 @@ with gr.Blocks() as demo:
378
  key = gr.Textbox(label=f"Enter your OpenAI API Key (this space will not save your API Key). [Pay Attention]: this evaluaiton may cost several dollars, please notice your OpenAI API Key balance.", type="password")
379
  model = gr.Dropdown(
380
  choices=["gpt-4-0613", "gpt-4-turbo"],
381
- value="gpt-4-0613",
382
- label="Select GPt-4 model version (gpt-4-0613 is the default and gpt-4-turbo is cheaper)"
383
  )
384
  with gr.Row():
385
  inp = gr.File(file_types=[".json"])
 
378
  key = gr.Textbox(label=f"Enter your OpenAI API Key (this space will not save your API Key). [Pay Attention]: this evaluaiton may cost several dollars, please notice your OpenAI API Key balance.", type="password")
379
  model = gr.Dropdown(
380
  choices=["gpt-4-0613", "gpt-4-turbo"],
381
+ value="gpt-4-turbo",
382
+ label="Select GPt-4 model version (gpt-4-0613 is the default in the paper and gpt-4-turbo is cheaper)"
383
  )
384
  with gr.Row():
385
  inp = gr.File(file_types=[".json"])