Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -47,7 +47,7 @@ checkpoint = 'wvangils/BLOOM-560m-Beatles-Lyrics-finetuned'
|
|
47 |
title_generator = pipeline('summarization', model='czearing/story-to-title')
|
48 |
lyrics_generator = pipeline("text-generation", model=checkpoint)
|
49 |
# For the image generator we use stable diffusion from an existing HuggingFace space
|
50 |
-
stable_diffusion = gr.Blocks.load(name="spaces/stabilityai/stable-diffusion")
|
51 |
|
52 |
# Create 4 images for the given prompt and receive the first one
|
53 |
# This function uses an existing HuggingFace space where the number of created images cannot be modified
|
|
|
47 |
title_generator = pipeline('summarization', model='czearing/story-to-title')
|
48 |
lyrics_generator = pipeline("text-generation", model=checkpoint)
|
49 |
# For the image generator we use stable diffusion from an existing HuggingFace space
|
50 |
+
stable_diffusion = gr.Blocks.load(name="spaces/stabilityai/stable-diffusion-2")
|
51 |
|
52 |
# Create 4 images for the given prompt and receive the first one
|
53 |
# This function uses an existing HuggingFace space where the number of created images cannot be modified
|