Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -25,7 +25,7 @@ def infer(image_input):
|
|
25 |
clipi_result = clipi_client.predict(
|
26 |
image_input, # str (filepath or URL to image) in 'parameter_3' Image component
|
27 |
"best", # str in 'Select mode' Radio component
|
28 |
-
|
29 |
api_name="/clipi2"
|
30 |
)
|
31 |
print(clipi_result)
|
|
|
25 |
clipi_result = clipi_client.predict(
|
26 |
image_input, # str (filepath or URL to image) in 'parameter_3' Image component
|
27 |
"best", # str in 'Select mode' Radio component
|
28 |
+
4, # int | float (numeric value between 2 and 24) in 'best mode max flavors' Slider component
|
29 |
api_name="/clipi2"
|
30 |
)
|
31 |
print(clipi_result)
|