Nguyen17 commited on
Commit
7a8ae63
·
1 Parent(s): b85e8d6
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -223,10 +223,10 @@ def main1(config_path):
223
  logging.basicConfig(level=logging.INFO,
224
  format='%(asctime)s - %(name)s - %(levelname)s - %(message)s')
225
  logger = logging.getLogger(__name__)
226
- global config = None
227
- global retriever=None
228
- global tokenizer=None
229
- global language_model= None
230
  try:
231
  # Log the start of the process
232
  logger.info("Starting the process with config file: %s", config_path)
 
223
  logging.basicConfig(level=logging.INFO,
224
  format='%(asctime)s - %(name)s - %(levelname)s - %(message)s')
225
  logger = logging.getLogger(__name__)
226
+ global config
227
+ global retriever
228
+ global tokenizer
229
+ global language_model
230
  try:
231
  # Log the start of the process
232
  logger.info("Starting the process with config file: %s", config_path)