huohguohbo commited on
Commit
52ec872
·
1 Parent(s): 7abc31a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -41,8 +41,8 @@ def hf_chat(model_name, message):
41
  api_key_input = gr.inputs.Textbox(label="OpenAI API Key", default=None)
42
  model_input = gr.inputs.Dropdown(
43
  label="Select OpenAI model",
44
- choices=["davinci", "curie", "babbage"],
45
- default="davinci",
46
  )
47
  message_input = gr.inputs.Textbox(label="Enter your message here")
48
  output = gr.outputs.Textbox(label="Bot response")
 
41
  api_key_input = gr.inputs.Textbox(label="OpenAI API Key", default=None)
42
  model_input = gr.inputs.Dropdown(
43
  label="Select OpenAI model",
44
+ choices=["text-davinci-003", "text-davinci-002"],
45
+ default="text-davinci-003",
46
  )
47
  message_input = gr.inputs.Textbox(label="Enter your message here")
48
  output = gr.outputs.Textbox(label="Bot response")