acecalisto3 commited on
Commit
77c8ab6
·
verified ·
1 Parent(s): 8ca88cc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -6
app.py CHANGED
@@ -19,15 +19,11 @@ import faiss
19
  import numpy as np
20
  from PIL import Image
21
 
22
- # A touch of style for our logging
23
  logging.basicConfig(
24
  level=logging.INFO,
25
- format='%(as_time)s - %(levelname)s - %(name)s - %(message)s',
26
  datefmt='%Y-%m-%d %H:%M:%S',
27
- handlers=[
28
- logging.StreamHandler(),
29
- logging.FileHandler('gradio_builder.log')
30
- ]
31
  )
32
  logger = logging.getLogger(__name__)
33
 
 
19
  import numpy as np
20
  from PIL import Image
21
 
 
22
  logging.basicConfig(
23
  level=logging.INFO,
24
+ format='%(asctime)s - %(levelname)s - %(name)s - %(message)s',
25
  datefmt='%Y-%m-%d %H:%M:%S',
26
+ handlers=[logging.StreamHandler(), logging.FileHandler('gradio_builder.log')]
 
 
 
27
  )
28
  logger = logging.getLogger(__name__)
29