santoR commited on
Commit
0f450e1
·
1 Parent(s): ce1a115

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -112,8 +112,9 @@ with gr.Blocks(css=css) as demo:
112
  total_tokens_str = gr.Markdown(elem_id="total_tokens_str")
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
  prompt_template = gr.Dropdown(label="Set a custom insruction for the chatbot:", choices=list(prompt_templates.keys()))
118
  prompt_template_preview = gr.Markdown(elem_id="prompt_template_preview")
119
  with gr.Accordion("Advanced parameters", open=False):
 
112
  total_tokens_str = gr.Markdown(elem_id="total_tokens_str")
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):