miittnnss commited on
Commit
4999b07
Β·
1 Parent(s): df9548f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +12 -1
app.py CHANGED
@@ -50,6 +50,14 @@ def generate_image():
50
 
51
  title = "DCGAN Image Generator πŸ–ŒοΈπŸŽ¨"
52
  description = "Generate non-existing images using DCGAN."
 
 
 
 
 
 
 
 
53
 
54
  iface = gr.Interface(
55
  fn=generate_image,
@@ -57,8 +65,11 @@ iface = gr.Interface(
57
  outputs="image",
58
  title=title,
59
  description=description,
60
- theme="soft"
 
 
61
  )
62
 
 
63
  iface.launch()
64
 
 
50
 
51
  title = "DCGAN Image Generator πŸ–ŒοΈπŸŽ¨"
52
  description = "Generate non-existing images using DCGAN."
53
+ content = """
54
+ ## How to Generate 🎨
55
+
56
+ To generate an image, follow these steps:
57
+
58
+ 1. Click \"Generate\" button to generate a image!
59
+ 2. Once the image is generated, you can save it or share it to the community!
60
+ """
61
 
62
  iface = gr.Interface(
63
  fn=generate_image,
 
65
  outputs="image",
66
  title=title,
67
  description=description,
68
+ article=content,
69
+ theme="soft",
70
+ api_name="generate"
71
  )
72
 
73
+ iface.queue()
74
  iface.launch()
75