Update app.py
Browse files
app.py
CHANGED
|
@@ -113,7 +113,7 @@ with gr.Blocks(css=css) as demo:
|
|
| 113 |
btn_clear_conversation = gr.Button("π Start New Conversation")
|
| 114 |
with gr.Column():
|
| 115 |
gr.Markdown("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='', 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):
|
|
|
|
| 113 |
btn_clear_conversation = gr.Button("π Start New Conversation")
|
| 114 |
with gr.Column():
|
| 115 |
gr.Markdown("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):
|