fka/prompts.chat
Viewer โข Updated โข 2.74k โข 27.7k โข 9.92k
How to use Nonthachai/Pumpuang_duangjan with Keras:
# !pip install -U keras tensorflow huggingface_hub
# Keras needs TensorFlow installed to read "hf://" paths, so the tensorflow backend is selected here;
# "jax" and "torch" also work for computation once TensorFlow is installed.
import os
os.environ["KERAS_BACKEND"] = "tensorflow"
import keras
model = keras.saving.load_model("hf://Nonthachai/Pumpuang_duangjan")