Spaces:
Runtime error
Runtime error
Commit
·
2ddf191
1
Parent(s):
4ccb68f
Update app.py
Browse files
app.py
CHANGED
|
@@ -18,5 +18,8 @@ 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")]
|
|
|
|
|
|
|
|
|
|
| 22 |
iface.launch(debug=True)
|
|
|
|
| 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.")
|
| 25 |
iface.launch(debug=True)
|