Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -46,7 +46,7 @@ def ask_openai_with_image(history, instruction, image):
|
|
46 |
with gr.Blocks(theme='YTheme/KidsShool') as demo:
|
47 |
with gr.Row():
|
48 |
with gr.Column():
|
49 |
-
chat = gr.Chatbot(label="Чат с историей",
|
50 |
instruction_input = gr.Textbox(label="Сообщение", lines=3, visible=False)
|
51 |
image_input = gr.Image(label="Загрузить изображение", type="pil", visible=False)
|
52 |
submit_button = gr.Button("Отправить", variant='primary')
|
|
|
46 |
with gr.Blocks(theme='YTheme/KidsShool') as demo:
|
47 |
with gr.Row():
|
48 |
with gr.Column():
|
49 |
+
chat = gr.Chatbot(label="Чат с историей", history=[])
|
50 |
instruction_input = gr.Textbox(label="Сообщение", lines=3, visible=False)
|
51 |
image_input = gr.Image(label="Загрузить изображение", type="pil", visible=False)
|
52 |
submit_button = gr.Button("Отправить", variant='primary')
|