Spaces:
Runtime error
Runtime error
Dagfinn1962
commited on
Commit
•
f72f3f6
1
Parent(s):
81723db
Update app.py
Browse files
app.py
CHANGED
@@ -134,15 +134,15 @@ with gr.Blocks(theme='HaleyCH/HaleyCH_Theme') as demo:
|
|
134 |
"""
|
135 |
)
|
136 |
|
137 |
-
|
138 |
with gr.Row():
|
139 |
with gr.Column():
|
140 |
# to do: change to openaikey input for public release
|
141 |
openai_key = gr.Textbox(
|
142 |
-
label="Key",
|
143 |
-
value="
|
144 |
type="password",
|
145 |
-
placeholder="sk
|
146 |
info="You have to provide your own OpenAI API key.",
|
147 |
)
|
148 |
chatbot = gr.Chatbot().style(height=400)
|
|
|
134 |
"""
|
135 |
)
|
136 |
|
137 |
+
conversation = Chat()
|
138 |
with gr.Row():
|
139 |
with gr.Column():
|
140 |
# to do: change to openaikey input for public release
|
141 |
openai_key = gr.Textbox(
|
142 |
+
label="OpenAI Key",
|
143 |
+
value="",
|
144 |
type="password",
|
145 |
+
placeholder="sk..",
|
146 |
info="You have to provide your own OpenAI API key.",
|
147 |
)
|
148 |
chatbot = gr.Chatbot().style(height=400)
|