Update app.py
Browse files
app.py
CHANGED
@@ -133,6 +133,7 @@ def set_api_key(api_key):
|
|
133 |
|
134 |
# Gradio interface
|
135 |
with gr.Blocks() as demo:
|
|
|
136 |
api_key_input = gr.Textbox(label="OpenAI API Key", type="password", placeholder="Enter your OpenAI API Key")
|
137 |
api_key_btn = gr.Button("Set API Key")
|
138 |
api_key_status = gr.Textbox(value="API Key status", interactive=False)
|
@@ -143,7 +144,7 @@ with gr.Blocks() as demo:
|
|
143 |
outputs=[api_key_status]
|
144 |
)
|
145 |
|
146 |
-
with gr.Tab("
|
147 |
with gr.Column():
|
148 |
chatbot_current = gr.Chatbot(elem_id="chatbot_current")
|
149 |
txt_current = gr.Textbox(
|
|
|
133 |
|
134 |
# Gradio interface
|
135 |
with gr.Blocks() as demo:
|
136 |
+
title = "🧘♀️ Dialectical Behaviour Therapy"
|
137 |
api_key_input = gr.Textbox(label="OpenAI API Key", type="password", placeholder="Enter your OpenAI API Key")
|
138 |
api_key_btn = gr.Button("Set API Key")
|
139 |
api_key_status = gr.Textbox(value="API Key status", interactive=False)
|
|
|
144 |
outputs=[api_key_status]
|
145 |
)
|
146 |
|
147 |
+
with gr.Tab("Take a Dialectical Behaviour Therapy with Me"):
|
148 |
with gr.Column():
|
149 |
chatbot_current = gr.Chatbot(elem_id="chatbot_current")
|
150 |
txt_current = gr.Textbox(
|