hectorjelly commited on
Commit
cda2760
1 Parent(s): 8e05cfe

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -50,7 +50,7 @@ def bot_respond(chat_history, openai_gpt_key, model_choice):
50
 
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..", info="If an error is raised, you need to provide your own GPT keys for this app to function properly")
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)
 
50
 
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)