Skip to content

Commit

Permalink
Update app.py
Browse files Browse the repository at this point in the history
  • Loading branch information
duckling69 authored May 19, 2024
1 parent 9ba551a commit 289b22c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions app.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 289b22c

Please sign in to comment.