Spaces:
Runtime error
Runtime error
Commit
·
0fee900
1
Parent(s):
f0c7675
Update app.py
Browse files
app.py
CHANGED
|
@@ -423,8 +423,9 @@ 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 |
|
| 425 |
with gr.Row(visible = False) as input_row:
|
| 426 |
-
|
| 427 |
-
|
|
|
|
| 428 |
|
| 429 |
with gr.Column(scale=0.7):
|
| 430 |
txt = gr.Textbox(show_label=False, placeholder="Enter text and press enter, or upload an image").style(container=False)
|
|
|
|
| 423 |
openai_api_key_input = gr.Textbox(type = "password", label = "Enter your OpenAI API key here")
|
| 424 |
|
| 425 |
with gr.Row(visible = False) as input_row:
|
| 426 |
+
with gr.Row():
|
| 427 |
+
chatbot = gr.Chatbot(elem_id="chatbot", label="Visual ChatGPT")
|
| 428 |
+
state = gr.State([])
|
| 429 |
|
| 430 |
with gr.Column(scale=0.7):
|
| 431 |
txt = gr.Textbox(show_label=False, placeholder="Enter text and press enter, or upload an image").style(container=False)
|