gperdrizet commited on
Commit
be16556
·
verified ·
1 Parent(s): 877edd4

Fixed missing imports.

Browse files
Files changed (1) hide show
  1. client/gradio_functions.py +3 -1
client/gradio_functions.py CHANGED
@@ -2,7 +2,9 @@
2
 
3
  import os
4
  import re
5
-
 
 
6
 
7
  def get_dialog_logger(name: str = 'dialog', clear: bool = True) -> logging.Logger:
8
  '''Sets up logger for model's internal dialog.'''
 
2
 
3
  import os
4
  import re
5
+ import logging
6
+ from pathlib import Path
7
+ from logging.handlers import RotatingFileHandler
8
 
9
  def get_dialog_logger(name: str = 'dialog', clear: bool = True) -> logging.Logger:
10
  '''Sets up logger for model's internal dialog.'''