Spaces:
Runtime error
Runtime error
Dagfinn1962
commited on
Commit
•
3f99673
1
Parent(s):
499b9de
Update app.py
Browse files
app.py
CHANGED
@@ -125,13 +125,12 @@ with gr.Blocks(
|
|
125 |
with gr.Column():
|
126 |
# to do: change to openaikey input for public release
|
127 |
openai_key = gr.Textbox(
|
128 |
-
|
129 |
-
|
130 |
-
|
131 |
-
|
132 |
-
|
133 |
-
|
134 |
-
|
135 |
chatbot = gr.Chatbot().style(height=400)
|
136 |
with gr.Row():
|
137 |
with gr.Column():
|
@@ -219,3 +218,6 @@ with gr.Blocks(
|
|
219 |
outputs=[system],
|
220 |
queue=False,
|
221 |
)
|
|
|
|
|
|
|
|
125 |
with gr.Column():
|
126 |
# to do: change to openaikey input for public release
|
127 |
openai_key = gr.Textbox(
|
128 |
+
label="OpenAI Key",
|
129 |
+
value="",
|
130 |
+
type="password",
|
131 |
+
placeholder="sk..",
|
132 |
+
info="You have to provide your own OpenAI API key.",
|
133 |
+
)
|
|
|
134 |
chatbot = gr.Chatbot().style(height=400)
|
135 |
with gr.Row():
|
136 |
with gr.Column():
|
|
|
218 |
outputs=[system],
|
219 |
queue=False,
|
220 |
)
|
221 |
+
|
222 |
+
|
223 |
+
demo.queue(max_size=36, concurrency_count=14).launch(debug=True)
|