Spaces:
Runtime error
Runtime error
Dagfinn1962
commited on
Commit
•
bda1576
1
Parent(s):
f4b5057
Update app.py
Browse files
app.py
CHANGED
@@ -126,19 +126,16 @@ with gr.Blocks(
|
|
126 |
This is a lightweight demo of gpt-3.5-turbo conversation completion. It was designed as a template for in-context learning applications to be built on top of.
|
127 |
"""
|
128 |
)
|
129 |
-
|
130 |
-
conversation = Chat()
|
131 |
with gr.Row():
|
132 |
-
with gr.Column(
|
133 |
# to do: change to openaikey input for public release
|
134 |
openai_key = gr.Textbox(
|
135 |
label="OpenAI Key",
|
136 |
value="",
|
137 |
type="password",
|
138 |
-
placeholder="sk
|
139 |
info="You have to provide your own OpenAI API key.",
|
140 |
-
show_label=False,
|
141 |
-
).style(container=False)
|
142 |
)
|
143 |
chatbot = gr.Chatbot().style(height=400)
|
144 |
with gr.Row():
|
|
|
126 |
This is a lightweight demo of gpt-3.5-turbo conversation completion. It was designed as a template for in-context learning applications to be built on top of.
|
127 |
"""
|
128 |
)
|
129 |
+
conversation = Chat()
|
|
|
130 |
with gr.Row():
|
131 |
+
with gr.Column():
|
132 |
# to do: change to openaikey input for public release
|
133 |
openai_key = gr.Textbox(
|
134 |
label="OpenAI Key",
|
135 |
value="",
|
136 |
type="password",
|
137 |
+
placeholder="sk..",
|
138 |
info="You have to provide your own OpenAI API key.",
|
|
|
|
|
139 |
)
|
140 |
chatbot = gr.Chatbot().style(height=400)
|
141 |
with gr.Row():
|