Junfeng5 commited on
Commit
4931465
·
verified ·
1 Parent(s): b2ec3e2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -282,6 +282,7 @@ with gr.Blocks(fill_height=True) as demo:
282
  additional_inputs = [guidance_scale, temperature, top_K, top_P],
283
  additional_inputs_accordion="⚙️ Advanced Settings",
284
  multimodal=False,
 
285
  textbox=chat_input_T2I,
286
  chatbot=chatbot_T2I,
287
  fill_height=True,
@@ -294,6 +295,7 @@ with gr.Blocks(fill_height=True) as demo:
294
  description="Upload an image and start chatting about it, or simply try one of the examples below. If you don't upload an image, you will receive an error.",
295
  stop_btn="Stop Generation",
296
  multimodal=True,
 
297
  textbox=chat_input_I2T,
298
  chatbot=chatbot_I2T,
299
  )
 
282
  additional_inputs = [guidance_scale, temperature, top_K, top_P],
283
  additional_inputs_accordion="⚙️ Advanced Settings",
284
  multimodal=False,
285
+ cache_examples=False,
286
  textbox=chat_input_T2I,
287
  chatbot=chatbot_T2I,
288
  fill_height=True,
 
295
  description="Upload an image and start chatting about it, or simply try one of the examples below. If you don't upload an image, you will receive an error.",
296
  stop_btn="Stop Generation",
297
  multimodal=True,
298
+ cache_examples=False,
299
  textbox=chat_input_I2T,
300
  chatbot=chatbot_I2T,
301
  )