fffiloni commited on
Commit
70fc45e
1 Parent(s): d345da7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -21,7 +21,7 @@ def compare(image):
21
 
22
  coca_cap = coca_client.predict(
23
  image, # filepath in 'parameter_6' Image component
24
- "Beam search", # Literal[Beam search, Nucleus sampling] in 'Text Decoding Method' Radio component
25
  1, # float (numeric value between 1.0 and 5.0) in 'Repeat Penalty (larger value prevents repetition)' Slider component
26
  0.5, # float (numeric value between 0.0 and 1.0) in 'Top p (used with nucleus sampling)' Slider component
27
  5, # float in 'Minimum Sequence Length' Number component
 
21
 
22
  coca_cap = coca_client.predict(
23
  image, # filepath in 'parameter_6' Image component
24
+ "Nucleus sampling", # Literal[Beam search, Nucleus sampling] in 'Text Decoding Method' Radio component
25
  1, # float (numeric value between 1.0 and 5.0) in 'Repeat Penalty (larger value prevents repetition)' Slider component
26
  0.5, # float (numeric value between 0.0 and 1.0) in 'Top p (used with nucleus sampling)' Slider component
27
  5, # float in 'Minimum Sequence Length' Number component