Update app.py
Browse files
app.py
CHANGED
@@ -19,10 +19,10 @@ def sepia(input_img, num_copies):
|
|
19 |
time.sleep(1)
|
20 |
yield (sepia_img * 255).astype(np.uint8)
|
21 |
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
|
27 |
if __name__ == "__main__":
|
28 |
demo.launch()
|
|
|
19 |
time.sleep(1)
|
20 |
yield (sepia_img * 255).astype(np.uint8)
|
21 |
|
22 |
+
with gr.Blocks() as demo:
|
23 |
+
gr.Image()
|
24 |
+
|
25 |
+
demo.launch()
|
26 |
|
27 |
if __name__ == "__main__":
|
28 |
demo.launch()
|