Spaces:
Sleeping
Sleeping
update
Browse files
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
|
| 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)
|
|
|
|
| 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)
|