mgreg555 commited on
Commit
df8b0e0
·
1 Parent(s): 406a16c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -503,7 +503,7 @@ def show_picture(random_index):
503
  clipped_image = np.clip(image, 0.0, 1.0)
504
  return clipped_image
505
 
506
- demo = gr.Interface(fn=show_picture, inputs=gr.Slider(minimum=0, maximum=sample_size, step=1), outputs="image")
507
 
508
  if __name__ == "__main__":
509
  demo.launch(show_api=False, share=True)
 
503
  clipped_image = np.clip(image, 0.0, 1.0)
504
  return clipped_image
505
 
506
+ demo = gr.Interface(fn=show_picture, inputs=gr.Slider(minimum=0, maximum=sample_size-1, step=1), outputs="image")
507
 
508
  if __name__ == "__main__":
509
  demo.launch(show_api=False, share=True)