verkaDerkaDerk commited on
Commit
9de793a
1 Parent(s): 6bef3fe

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -1
app.py CHANGED
@@ -17,17 +17,24 @@ def main():
17
  block = gr.Blocks()
18
  with block:
19
  gr.HTML('''
 
20
  This is an unconditioned diffusion model trained on around 500
21
  miscellaneous tiki images from around the web.
22
 
23
  It was trained for around 1300 epochs with a loss of 0.0249
24
  or something... still running fix this later... uhm...
 
 
 
 
 
 
25
  ''')
26
  with gr.Group():
27
  with gr.Box():
28
  with gr.Row():
29
  btn = gr.Button("Generate image")
30
- btn.click(imagine, inputs=None, outputs=gallery)
31
  gallery = gr.Gallery(
32
  label="Generated images", show_label=False, elem_id="gallery"
33
  ).style(grid=[1], height="128px")
 
17
  block = gr.Blocks()
18
  with block:
19
  gr.HTML('''
20
+ <pre>
21
  This is an unconditioned diffusion model trained on around 500
22
  miscellaneous tiki images from around the web.
23
 
24
  It was trained for around 1300 epochs with a loss of 0.0249
25
  or something... still running fix this later... uhm...
26
+
27
+ It may take a really long time like 120s for some reason.
28
+
29
+ The image size is hugely stretch atm... still trying to figure out
30
+ how to control it...
31
+ </pre>
32
  ''')
33
  with gr.Group():
34
  with gr.Box():
35
  with gr.Row():
36
  btn = gr.Button("Generate image")
37
+
38
  gallery = gr.Gallery(
39
  label="Generated images", show_label=False, elem_id="gallery"
40
  ).style(grid=[1], height="128px")