Spaces:
Runtime error
Runtime error
RamAnanth1
commited on
Commit
•
a66310f
1
Parent(s):
d03e255
Update app.py
Browse files
app.py
CHANGED
@@ -40,7 +40,7 @@ def run(image, model_name):
|
|
40 |
file(file_path), # filepath in 'Image input' Image component
|
41 |
"Auto Remove background", # Literal['Alpha as mask', 'Auto Remove background'] in 'backgroud choice' Radio component
|
42 |
1, # float (numeric value between 0.5 and 1.0) in 'Foreground Ratio' Slider component
|
43 |
-
"#
|
44 |
api_name="/preprocess_image"
|
45 |
)
|
46 |
|
|
|
40 |
file(file_path), # filepath in 'Image input' Image component
|
41 |
"Auto Remove background", # Literal['Alpha as mask', 'Auto Remove background'] in 'backgroud choice' Radio component
|
42 |
1, # float (numeric value between 0.5 and 1.0) in 'Foreground Ratio' Slider component
|
43 |
+
"#7F7F7F", # str in 'Background Color' Colorpicker component
|
44 |
api_name="/preprocess_image"
|
45 |
)
|
46 |
|