lalithadevi
commited on
Commit
•
185b7c1
1
Parent(s):
3efb030
Update app.py
Browse files
app.py
CHANGED
@@ -20,6 +20,7 @@ CORS(app)
|
|
20 |
logger = get_logger()
|
21 |
logger.warning('Entering application')
|
22 |
os.environ["TOKENIZERS_PARALLELISM"] = "false"
|
|
|
23 |
|
24 |
def load_model():
|
25 |
logger.warning('Entering load transformer')
|
|
|
20 |
logger = get_logger()
|
21 |
logger.warning('Entering application')
|
22 |
os.environ["TOKENIZERS_PARALLELISM"] = "false"
|
23 |
+
os.environ["TF_USE_LEGACY_KERAS"] = "1"
|
24 |
|
25 |
def load_model():
|
26 |
logger.warning('Entering load transformer')
|