sebaacademia commited on
Commit
1b1b958
1 Parent(s): 5779a79

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -1
app.py CHANGED
@@ -1,7 +1,16 @@
1
- from config.logging import STREAM_LOGGER
2
  from controller import EventsHandler
3
  from gradio import Blocks, Button, Row, Markdown, Textbox, Column, Files
4
 
 
 
 
 
 
 
 
 
 
 
5
  with Blocks() as demo:
6
  Markdown("Start typing below and then click **Run** to see the output.")
7
  with Row():
 
 
1
  from controller import EventsHandler
2
  from gradio import Blocks, Button, Row, Markdown, Textbox, Column, Files
3
 
4
+ import logging
5
+ import logging.config
6
+
7
+ from config.constants import LOGGING_DICT_CONFIG
8
+
9
+ logging.config.dictConfig(LOGGING_DICT_CONFIG)
10
+
11
+ STREAM_LOGGER = logging.getLogger("StreamLogger")
12
+ FILE_LOGGER = logging.getLogger("FileLogger")
13
+
14
  with Blocks() as demo:
15
  Markdown("Start typing below and then click **Run** to see the output.")
16
  with Row():