Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -31,7 +31,7 @@ def generate_image(prompt, seed=42):
|
|
31 |
# Create the Gradio interface
|
32 |
interface = gr.Interface(
|
33 |
fn=generate_image,
|
34 |
-
inputs=[gr.Textbox(label="Prompt"), gr.Number(label="Seed"
|
35 |
outputs=gr.Image(type="file"),
|
36 |
title="Custom Stable Diffusion Model",
|
37 |
description="Generate images using a custom Stable Diffusion model."
|
|
|
31 |
# Create the Gradio interface
|
32 |
interface = gr.Interface(
|
33 |
fn=generate_image,
|
34 |
+
inputs=[gr.Textbox(label="Prompt"), gr.Number(label="Seed")],
|
35 |
outputs=gr.Image(type="file"),
|
36 |
title="Custom Stable Diffusion Model",
|
37 |
description="Generate images using a custom Stable Diffusion model."
|