Spaces:
Paused
Paused
Update app.py
Browse files
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 |
-
"
|
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
|