Spaces:
Runtime error
Runtime error
Dagfinn1962
commited on
Commit
•
85821fd
1
Parent(s):
b28ff3b
Update app.py
Browse files
app.py
CHANGED
@@ -144,11 +144,12 @@ with gr.Blocks(theme='HaleyCH/HaleyCH_Theme') as demo:
|
|
144 |
conversation = Chat()
|
145 |
with gr.Row():
|
146 |
with gr.Column():
|
|
|
147 |
label="OpenAI Key",
|
148 |
placeholder="os.environ.get('API_KEY')",
|
149 |
type="text",
|
150 |
info="",
|
151 |
-
|
152 |
chatbot = gr.Chatbot().style(height=400)
|
153 |
with gr.Row():
|
154 |
with gr.Column():
|
|
|
144 |
conversation = Chat()
|
145 |
with gr.Row():
|
146 |
with gr.Column():
|
147 |
+
openai_key = gr.Textbox(
|
148 |
label="OpenAI Key",
|
149 |
placeholder="os.environ.get('API_KEY')",
|
150 |
type="text",
|
151 |
info="",
|
152 |
+
)
|
153 |
chatbot = gr.Chatbot().style(height=400)
|
154 |
with gr.Row():
|
155 |
with gr.Column():
|