ryanrwatkins commited on
Commit
ca0d588
Β·
1 Parent(s): 8d4bf4d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -111,8 +111,8 @@ with gr.Blocks(css=css) as demo:
111
  total_tokens_str = gr.Markdown(elem_id="total_tokens_str")
112
  btn_clear_conversation = gr.Button("πŸ”ƒ Start New Conversation")
113
  with gr.Column():
114
- #gr.Markdown("Enter your OpenAI API Key. You can get one [here](https://platform.openai.com/account/api-keys).", elem_id="label")
115
- #user_token = gr.Textbox(value='', placeholder="OpenAI API Key", type="password", show_label=False)
116
  prompt_template = gr.Dropdown(label="Choose a guru:", choices=list(prompt_templates.keys()))
117
  prompt_template_preview = gr.Markdown(elem_id="prompt_template_preview")
118
  with gr.Accordion("Advanced parameters", open=False):
 
111
  total_tokens_str = gr.Markdown(elem_id="total_tokens_str")
112
  btn_clear_conversation = gr.Button("πŸ”ƒ Start New Conversation")
113
  with gr.Column():
114
+ gr.Markdown("Enter your OpenAI API Key. You can get one [here](https://platform.openai.com/account/api-keys).", elem_id="label")
115
+ user_token = gr.Textbox(value='', placeholder="OpenAI API Key", type="password", show_label=False)
116
  prompt_template = gr.Dropdown(label="Choose a guru:", choices=list(prompt_templates.keys()))
117
  prompt_template_preview = gr.Markdown(elem_id="prompt_template_preview")
118
  with gr.Accordion("Advanced parameters", open=False):