Spaces:
Runtime error
Runtime error
Dagfinn1962
commited on
Commit
•
9735558
1
Parent(s):
93d7f26
Update app.py
Browse files
app.py
CHANGED
@@ -140,17 +140,17 @@ with gr.Blocks(theme='HaleyCH/HaleyCH_Theme') as demo:
|
|
140 |
This is a lightweight gpt-3.5-turbo conversation
|
141 |
completion.
|
142 |
"""
|
143 |
-
|
144 |
conversation = Chat()
|
145 |
with gr.Row():
|
146 |
with gr.Column():
|
|
|
147 |
openai_key = gr.Textbox(
|
148 |
-
|
149 |
-
|
150 |
-
|
151 |
-
|
152 |
-
|
153 |
-
info="",
|
154 |
)
|
155 |
chatbot = gr.Chatbot().style(height=400)
|
156 |
with gr.Row():
|
|
|
140 |
This is a lightweight gpt-3.5-turbo conversation
|
141 |
completion.
|
142 |
"""
|
143 |
+
)
|
144 |
conversation = Chat()
|
145 |
with gr.Row():
|
146 |
with gr.Column():
|
147 |
+
# to do: change to openaikey input for public release
|
148 |
openai_key = gr.Textbox(
|
149 |
+
label="OpenAI Key",
|
150 |
+
value="",
|
151 |
+
type="password",
|
152 |
+
placeholder="copy under paste here! ",
|
153 |
+
info="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.",
|
|
|
154 |
)
|
155 |
chatbot = gr.Chatbot().style(height=400)
|
156 |
with gr.Row():
|