From 289b22c85dcbccc8c8e7c12b887787879e693d72 Mon Sep 17 00:00:00 2001 From: Vivek jha <85884487+duckling69@users.noreply.github.com> Date: Sun, 19 May 2024 12:54:00 +0530 Subject: [PATCH] Update app.py --- app.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/app.py b/app.py index c7fab27..b2cb1fd 100644 --- a/app.py +++ b/app.py @@ -5,11 +5,9 @@ from keras.models import load_model from tensorflow.keras.preprocessing.sequence import pad_sequences import pickle -import os -print("Current working directory:", os.getcwd()) # Load the model, tokenizer, and label encoder -model = load_model('/workspaces/OptimalYou-Chat/chatbot_model.h5') +model = load_model('chatbot_model.h5') with open('tokenizer.pickle', 'rb') as handle: tokenizer = pickle.load(handle)