fffiloni commited on
Commit
5394b82
1 Parent(s): e226df6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -11,7 +11,7 @@ pipe.enable_model_cpu_offload()
11
  caption = gr.load(name="spaces/fffiloni/CoCa-clone")
12
 
13
  def create_image_caption(image_init):
14
- cap = caption(image_init, "Beam search", 1.2, 0.5, 5, 20, fn_index=0)
15
  print("cap: " + cap)
16
  return cap
17
 
 
11
  caption = gr.load(name="spaces/fffiloni/CoCa-clone")
12
 
13
  def create_image_caption(image_init):
14
+ cap = caption(image_init, "Nucleus sampling", 1.2, 0.5, 5, 20, fn_index=0)
15
  print("cap: " + cap)
16
  return cap
17