hectorjelly commited on
Commit
a729af0
1 Parent(s): cda2760

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -51,7 +51,7 @@ def bot_respond(chat_history, openai_gpt_key, model_choice):
51
  # Create a Gradio interface
52
  with gr.Blocks() as demo:
53
  openai_gpt_key = gr.Textbox(label="OpenAI GPT API Key", value="", placeholder="sk..")
54
- model_choice = gr.Dropdown(label="Model Options", choices=['gpt-3.5-turbo', 'gpt-4'])
55
  clear_btn = gr.Button("Clear for Restart")
56
  chat_history = gr.Chatbot([], elem_id="chat_history").style(height=500)
57
 
 
51
  # Create a Gradio interface
52
  with gr.Blocks() as demo:
53
  openai_gpt_key = gr.Textbox(label="OpenAI GPT API Key", value="", placeholder="sk..")
54
+ model_choice = gr.Dropdown(label="Model Options", choices=['gpt-3.5-turbo', 'gpt-4'],info = "For better results choose GPT4, for faster and cheaper responses, GPT3.5")
55
  clear_btn = gr.Button("Clear for Restart")
56
  chat_history = gr.Chatbot([], elem_id="chat_history").style(height=500)
57