jonathanjordan21 commited on
Commit
bcbe59e
1 Parent(s): 1fe1ea5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -27,12 +27,12 @@ pexels_api_key = os.getenv('pexels_api_key')
27
  def pred(product_name, orientation):
28
  if orientation == "Shorts/Reels/TikTok (1080 x 1920)":
29
  orientation = "potrait"
30
- height = 1080
31
- width = 1920
32
- elif orientation == "Youtube Videos (1920 x 1080)":
33
- orientation = "landscape"
34
  height = 1920
35
  width = 1080
 
 
 
 
36
  else :
37
  orientation = "square"
38
  height = 1080
 
27
  def pred(product_name, orientation):
28
  if orientation == "Shorts/Reels/TikTok (1080 x 1920)":
29
  orientation = "potrait"
 
 
 
 
30
  height = 1920
31
  width = 1080
32
+ elif orientation == "Youtube Videos (1920 x 1080)":
33
+ orientation = "landscape"
34
+ height = 1080
35
+ width = 1920
36
  else :
37
  orientation = "square"
38
  height = 1080