Spaces:
Runtime error
Runtime error
Commit
·
043fe87
1
Parent(s):
b60c078
Update app.py
Browse files
app.py
CHANGED
@@ -8,7 +8,7 @@ from PIL import Image
|
|
8 |
|
9 |
from spectro import wav_bytes_from_spectrogram_image
|
10 |
|
11 |
-
keras.mixed_precision.set_global_policy("
|
12 |
# load keras model
|
13 |
resolution=512
|
14 |
sd_dreambooth_model_1=StableDiffusionPy(resolution, resolution, download_weights=False, jit_compile=True)
|
@@ -52,5 +52,6 @@ gr.Interface(
|
|
52 |
outputs=[
|
53 |
gr.Video(),
|
54 |
],
|
55 |
-
examples=[["a $currulao song", 50, 7.5, 1]
|
|
|
56 |
).queue().launch(debug=True)
|
|
|
8 |
|
9 |
from spectro import wav_bytes_from_spectrogram_image
|
10 |
|
11 |
+
keras.mixed_precision.set_global_policy("mixed_float16") #float32
|
12 |
# load keras model
|
13 |
resolution=512
|
14 |
sd_dreambooth_model_1=StableDiffusionPy(resolution, resolution, download_weights=False, jit_compile=True)
|
|
|
52 |
outputs=[
|
53 |
gr.Video(),
|
54 |
],
|
55 |
+
examples=[["a $currulao song", 50, 7.5, 1],
|
56 |
+
["a $currulao song, lo-fi, nostalgic", 100, 9.5, 0.7]],
|
57 |
).queue().launch(debug=True)
|