Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -92,9 +92,9 @@ with gr.Blocks(
|
|
92 |
caption_output_v1 = gr.Textbox(lines=0, label="CAP+LLM")
|
93 |
|
94 |
image_input.change(
|
95 |
-
lambda: ("", "",
|
96 |
[],
|
97 |
-
[ caption_output, state],
|
98 |
queue=False,
|
99 |
)
|
100 |
chat_input.submit(
|
@@ -106,7 +106,7 @@ with gr.Blocks(
|
|
106 |
[ caption_output],
|
107 |
)
|
108 |
clear_button.click(
|
109 |
-
lambda: ("", [],
|
110 |
[],
|
111 |
[chat_input, state,caption_output,gpt3_output_v1,caption_output_v1],
|
112 |
queue=False,
|
|
|
92 |
caption_output_v1 = gr.Textbox(lines=0, label="CAP+LLM")
|
93 |
|
94 |
image_input.change(
|
95 |
+
lambda: ("", [],"","",""),
|
96 |
[],
|
97 |
+
[ caption_output, state,caption_output,gpt3_output_v1,caption_output_v1],
|
98 |
queue=False,
|
99 |
)
|
100 |
chat_input.submit(
|
|
|
106 |
[ caption_output],
|
107 |
)
|
108 |
clear_button.click(
|
109 |
+
lambda: ("", [],"","",""),
|
110 |
[],
|
111 |
[chat_input, state,caption_output,gpt3_output_v1,caption_output_v1],
|
112 |
queue=False,
|