Update app.py
Browse files
app.py
CHANGED
@@ -11,7 +11,7 @@ app = FastAPI()
|
|
11 |
|
12 |
# Configure logging
|
13 |
logging.basicConfig(level=logging.INFO)
|
14 |
-
logger = logging.getLogger(
|
15 |
|
16 |
# Set the cache directory for Hugging Face
|
17 |
os.environ['TRANSFORMERS_CACHE'] = os.getenv('TRANSFORMERS_CACHE', '/app/cache')
|
|
|
11 |
|
12 |
# Configure logging
|
13 |
logging.basicConfig(level=logging.INFO)
|
14 |
+
logger = logging.getLogger(__name__)
|
15 |
|
16 |
# Set the cache directory for Hugging Face
|
17 |
os.environ['TRANSFORMERS_CACHE'] = os.getenv('TRANSFORMERS_CACHE', '/app/cache')
|