Spaces:
Runtime error
Runtime error
Commit
·
24ad498
1
Parent(s):
e85b87d
Update app.py
Browse files
app.py
CHANGED
|
@@ -18,7 +18,7 @@ def generate_image():
|
|
| 18 |
|
| 19 |
# gradio interface
|
| 20 |
import gradio as gr
|
| 21 |
-
iface = gr.Interface(fn=generate_image, inputs=None, outputs=[gr.Image(label="Generated Image", type="numpy", tool='editor')]
|
| 22 |
title="Image Data Generator",
|
| 23 |
description="This tool generates synthetic images using the DiffusionPipeline model.",
|
| 24 |
article="### Using the Image Data Generator\n\nSimply click 'Generate Image' to create a synthetic image. The generated image will be displayed below.")
|
|
|
|
| 18 |
|
| 19 |
# gradio interface
|
| 20 |
import gradio as gr
|
| 21 |
+
iface = gr.Interface(fn=generate_image, inputs=None, outputs=[gr.Image(label="Generated Image", type="numpy", tool='editor')],
|
| 22 |
title="Image Data Generator",
|
| 23 |
description="This tool generates synthetic images using the DiffusionPipeline model.",
|
| 24 |
article="### Using the Image Data Generator\n\nSimply click 'Generate Image' to create a synthetic image. The generated image will be displayed below.")
|