Rojban commited on
Commit
0e7f518
Β·
1 Parent(s): 40e5f05

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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", default=42)],
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."