google/mobile-actions
Viewer • Updated • 9.65k • 761 • 295
How to use hahahakkk/Ghost 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://hahahakkk/Ghost")
Base model
Tongyi-MAI/Z-Image-Turbo