Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -248,14 +248,10 @@ def image_processing(image, filter_type):
|
|
248 |
|
249 |
return cv2.cvtColor(output, cv2.COLOR_BGR2RGB) if len(output.shape) == 3 else output
|
250 |
|
251 |
-
# Get absolute path of image file
|
252 |
-
image_path = 'https://huggingface.co/spaces/DigiP-AI/Image_Studio/blob/main/abstract.jpg' # Replace with your image file path
|
253 |
-
|
254 |
-
absolute_path = os.path.abspath(image_path)
|
255 |
-
|
256 |
css = """
|
257 |
-
.gradio-container {
|
258 |
-
|
|
|
259 |
}
|
260 |
"""
|
261 |
|
|
|
248 |
|
249 |
return cv2.cvtColor(output, cv2.COLOR_BGR2RGB) if len(output.shape) == 3 else output
|
250 |
|
|
|
|
|
|
|
|
|
|
|
251 |
css = """
|
252 |
+
.gradio-container {background-color: MediumAquaMarine}
|
253 |
+
footer {
|
254 |
+
visibility: hidden;
|
255 |
}
|
256 |
"""
|
257 |
|