Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -12,7 +12,7 @@ def flip_img(img):
|
|
12 |
return np.flipud(img)
|
13 |
|
14 |
def show_cat():
|
15 |
-
return ddpm(num_inference_steps=
|
16 |
|
17 |
with gr.Blocks(theme=gr.themes.Soft()) as demo:
|
18 |
gr.Markdown("flip the text or image using this demo")
|
|
|
12 |
return np.flipud(img)
|
13 |
|
14 |
def show_cat():
|
15 |
+
return ddpm(num_inference_steps=10).images[0]
|
16 |
|
17 |
with gr.Blocks(theme=gr.themes.Soft()) as demo:
|
18 |
gr.Markdown("flip the text or image using this demo")
|