lampongyuen commited on
Commit
5bcf556
·
1 Parent(s): 162e329

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -6,8 +6,8 @@ def greet(image, name, is_morning, temperature):
6
  salutation = "Good morning" if is_morning else "Good evening"
7
  greeting = f"{salutation} {name}. It is {temperature} degrees today"
8
  celsius = (temperature - 32) * 5 / 9
9
-
10
- new_image = np.zeros(image.shape[0],image.shape[1],image.shape[2],image.dtype)
11
  # contrast [1.0-3.0]
12
  # brightness [0-100]
13
  # https://docs.opencv.org/4.x/d3/dc1/tutorial_basic_linear_transform.html
 
6
  salutation = "Good morning" if is_morning else "Good evening"
7
  greeting = f"{salutation} {name}. It is {temperature} degrees today"
8
  celsius = (temperature - 32) * 5 / 9
9
+ print(image.shape)
10
+ new_image = np.zeros(image.shape,image.dtype)
11
  # contrast [1.0-3.0]
12
  # brightness [0-100]
13
  # https://docs.opencv.org/4.x/d3/dc1/tutorial_basic_linear_transform.html