Spaces:
Running
Running
~UI
Browse files
app.py
CHANGED
@@ -103,9 +103,9 @@ with gr.Blocks(css=css) as demo:
|
|
103 |
elem_id="header")
|
104 |
|
105 |
with gr.Row():
|
106 |
-
gr.Markdown("Enter your OpenAI API Key. You can get one [here](https://platform.openai.com/account/api-keys).", elem_id="label")
|
107 |
-
user_token = gr.Textbox(value='', placeholder="OpenAI API Key", type="password", show_label=False)
|
108 |
with gr.Column():
|
|
|
|
|
109 |
chatbot = gr.Chatbot(elem_id="chatbox")
|
110 |
input_message = gr.Textbox(show_label=False, placeholder="Enter text and press enter", visible=True).style(container=False)
|
111 |
btn_submit = gr.Button("Submit")
|
|
|
103 |
elem_id="header")
|
104 |
|
105 |
with gr.Row():
|
|
|
|
|
106 |
with gr.Column():
|
107 |
+
gr.Markdown("Enter your OpenAI API Key. You can get one [here](https://platform.openai.com/account/api-keys).", elem_id="label")
|
108 |
+
user_token = gr.Textbox(value='', placeholder="OpenAI API Key", type="password", show_label=False)
|
109 |
chatbot = gr.Chatbot(elem_id="chatbox")
|
110 |
input_message = gr.Textbox(show_label=False, placeholder="Enter text and press enter", visible=True).style(container=False)
|
111 |
btn_submit = gr.Button("Submit")
|