basharatwali commited on
Commit
e0b4393
·
1 Parent(s): b98188b

Add application and model

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -56,7 +56,7 @@ def inference_interface(latent_dim=latent_dim, device=device):
56
 
57
  demo = gr.Interface(
58
  fn=generate,
59
- inputs=gr.Slider(minimum=1, maximum=9, step=1, default=1, label="Number of Images"),
60
  outputs=gr.Gallery(label="Generated Artwork").style(grid=[3], height="auto"),
61
  title="Art Generation with GAN",
62
  description="Generate artwork using a trained GAN model."
 
56
 
57
  demo = gr.Interface(
58
  fn=generate,
59
+ inputs=gr.Slider(minimum=1, maximum=9, step=1, value=1, label="Number of Images"),
60
  outputs=gr.Gallery(label="Generated Artwork").style(grid=[3], height="auto"),
61
  title="Art Generation with GAN",
62
  description="Generate artwork using a trained GAN model."