santoR commited on
Commit
66a5b14
1 Parent(s): 0f450e1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -113,8 +113,8 @@ with gr.Blocks(css=css) as demo:
113
  btn_clear_conversation = gr.Button("🔃 Start New Conversation")
114
  with gr.Column():
115
  #gr.Markdown("aqui Enter your OpenAI API Key. You can get one [here](https://platform.openai.com/account/api-keys).", elem_id="label")
116
- #user_token = gr.Textbox(value='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', placeholder="OpenAI API Key", type="password", show_label=False)
117
- user_token = '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'
118
  prompt_template = gr.Dropdown(label="Set a custom insruction for the chatbot:", choices=list(prompt_templates.keys()))
119
  prompt_template_preview = gr.Markdown(elem_id="prompt_template_preview")
120
  with gr.Accordion("Advanced parameters", open=False):
 
113
  btn_clear_conversation = gr.Button("🔃 Start New Conversation")
114
  with gr.Column():
115
  #gr.Markdown("aqui Enter your OpenAI API Key. You can get one [here](https://platform.openai.com/account/api-keys).", elem_id="label")
116
+ user_token = gr.Textbox(value='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', placeholder="OpenAI API Key", type="password", show_label=False)
117
+ #user_token = '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'
118
  prompt_template = gr.Dropdown(label="Set a custom insruction for the chatbot:", choices=list(prompt_templates.keys()))
119
  prompt_template_preview = gr.Markdown(elem_id="prompt_template_preview")
120
  with gr.Accordion("Advanced parameters", open=False):