vumichien commited on
Commit
e299aee
·
1 Parent(s): 75937a2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
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(