Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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)
|