xxx1 commited on
Commit
a00a3a2
1 Parent(s): ce28eed

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
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,