Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,6 +1,7 @@
|
|
| 1 |
import streamlit as st
|
| 2 |
import cv2
|
| 3 |
from PIL import Image, ImageEnhance
|
|
|
|
| 4 |
|
| 5 |
# Function to apply grayscale filter
|
| 6 |
def grayscale(image):
|
|
|
|
| 1 |
import streamlit as st
|
| 2 |
import cv2
|
| 3 |
from PIL import Image, ImageEnhance
|
| 4 |
+
import numpy as np # Add this line
|
| 5 |
|
| 6 |
# Function to apply grayscale filter
|
| 7 |
def grayscale(image):
|