uripper commited on
Commit
88a9b91
1 Parent(s): 64fdadf

fixed for loop

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -32,8 +32,8 @@ def show_random_image(num_imgs = num_imgs, imgs = imgs):
32
  display_img = "GIANNIS\\stored_images\\"+imgs[ran_img]
33
  return PIL.Image.open(display_img)
34
 
35
- for i in range(100):
36
- generate_img()
37
  # When a user clicks button, pipeline will generate an image
38
 
39
  iface = gr.Interface(fn=show_random_image, inputs=[], outputs="image")
 
32
  display_img = "GIANNIS\\stored_images\\"+imgs[ran_img]
33
  return PIL.Image.open(display_img)
34
 
35
+ # for i in range(100):
36
+ # generate_img()
37
  # When a user clicks button, pipeline will generate an image
38
 
39
  iface = gr.Interface(fn=show_random_image, inputs=[], outputs="image")