Spaces:
Runtime error
Runtime error
Commit
·
42b0ed1
1
Parent(s):
34e528b
Update app.py
Browse files
app.py
CHANGED
|
@@ -420,7 +420,7 @@ class ConversationBot:
|
|
| 420 |
|
| 421 |
bot = ConversationBot()
|
| 422 |
with gr.Blocks(css="#chatbot .overflow-y-auto{height:500px}") as demo:
|
| 423 |
-
openai_api_key_input = gr.Textbox(type = "
|
| 424 |
chatbot = gr.Chatbot(elem_id="chatbot", label="Visual ChatGPT")
|
| 425 |
state = gr.State([])
|
| 426 |
|
|
|
|
| 420 |
|
| 421 |
bot = ConversationBot()
|
| 422 |
with gr.Blocks(css="#chatbot .overflow-y-auto{height:500px}") as demo:
|
| 423 |
+
openai_api_key_input = gr.Textbox(type = "password", label = "Enter your OpenAI API key here")
|
| 424 |
chatbot = gr.Chatbot(elem_id="chatbot", label="Visual ChatGPT")
|
| 425 |
state = gr.State([])
|
| 426 |
|