Segizu commited on
Commit
ea437dd
Β·
1 Parent(s): fdd0cdf
Files changed (2) hide show
  1. app.py +0 -10
  2. requirements.txt +1 -0
app.py CHANGED
@@ -14,16 +14,6 @@ import time
14
  import shutil
15
  import tarfile
16
  import tensorflow as tf
17
- from spaces import GPU
18
-
19
-
20
- cuda_available = tf.config.list_physical_devices('GPU')
21
- print("πŸ” Dispositivos disponibles:", cuda_available)
22
-
23
-
24
-
25
- # πŸ” Mostrar dispositivos disponibles
26
- print("πŸ” Dispositivos disponibles:", tf.config.list_physical_devices())
27
 
28
  # πŸ” Limpiar almacenamiento temporal si existe
29
  def clean_temp_dirs():
 
14
  import shutil
15
  import tarfile
16
  import tensorflow as tf
 
 
 
 
 
 
 
 
 
 
17
 
18
  # πŸ” Limpiar almacenamiento temporal si existe
19
  def clean_temp_dirs():
requirements.txt CHANGED
@@ -9,3 +9,4 @@ git+https://github.com/serengil/deepface.git
9
  # Fixes para RetinaFace
10
  tensorflow==2.12.0
11
  tf-keras
 
 
9
  # Fixes para RetinaFace
10
  tensorflow==2.12.0
11
  tf-keras
12
+ spaces