Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
Erfan11
/
Neuracraft
like
0
Any-to-Any
Adapters
google-tensorflow
TensorFlow
fka/awesome-chatgpt-prompts
4 languages
bert
License:
apache-2.0
Model card
Files
Files and versions
Community
Use this model
2a58fc8
Neuracraft
/
model_loading.py
Erfan11
Update model_loading.py
2a58fc8
verified
about 2 months ago
raw
Copy download link
history
blame
Safe
186 Bytes
import
os
import
tensorflow
as
tf
from
dotenv
import
load_dotenv
load_dotenv()
model_path = os.getenv(
'MODEL_PATH'
)
def
load_model
():
return
tf.keras.models.load_model(model_path)