CEKA-AGAPES commited on
Commit
5594eb1
·
verified ·
1 Parent(s): efbbd60

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -1
app.py CHANGED
@@ -68,6 +68,11 @@ print(f"Image 4 : {image}")
68
  image = os.path.join("logo_rizoa_auchan.jpg")
69
  print(f"Chemin:{image}")
70
 
 
 
 
 
 
71
 
72
  PLACEHOLDER = (image)
73
 
@@ -81,7 +86,7 @@ with gr.Blocks() as demo:
81
  value=os.path.join(".","logo_rizoa_auchan.jpg"),
82
  height=250,
83
  width=250,
84
- container=False,
85
  show_download_button=False
86
  )
87
  with gr.Column(scale=4):
 
68
  image = os.path.join("logo_rizoa_auchan.jpg")
69
  print(f"Chemin:{image}")
70
 
71
+ if os.path.exists(image):
72
+ print("Image existe")
73
+ else:
74
+ print("Image n'existe pas")
75
+
76
 
77
  PLACEHOLDER = (image)
78
 
 
86
  value=os.path.join(".","logo_rizoa_auchan.jpg"),
87
  height=250,
88
  width=250,
89
+ container=False,
90
  show_download_button=False
91
  )
92
  with gr.Column(scale=4):