Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -17,7 +17,6 @@ pipe.scheduler = EulerDiscreteScheduler.from_config(pipe.scheduler.config, times
|
|
17 |
# Function
|
18 |
@spaces.GPU
|
19 |
def generate_image(prompt):
|
20 |
-
# Generate image using the preloaded model
|
21 |
image = pipe(prompt, num_inference_steps=4, guidance_scale=0).images[0]
|
22 |
return image
|
23 |
|
|
|
17 |
# Function
|
18 |
@spaces.GPU
|
19 |
def generate_image(prompt):
|
|
|
20 |
image = pipe(prompt, num_inference_steps=4, guidance_scale=0).images[0]
|
21 |
return image
|
22 |
|