Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -3,6 +3,8 @@ from keras_cv import models
|
|
3 |
import gradio as gr
|
4 |
import tensorflow as tf
|
5 |
|
|
|
|
|
6 |
# load keras model
|
7 |
resolution = 512
|
8 |
dreambooth_model = models.StableDiffusion(
|
|
|
3 |
import gradio as gr
|
4 |
import tensorflow as tf
|
5 |
|
6 |
+
keras.mixed_precision.set_global_policy("mixed_float16")
|
7 |
+
|
8 |
# load keras model
|
9 |
resolution = 512
|
10 |
dreambooth_model = models.StableDiffusion(
|