Update run.py
Browse files
run.py
CHANGED
@@ -40,7 +40,7 @@ with gr.Blocks() as demo:
|
|
40 |
label="Generated images", show_label=False, elem_id="gallery"
|
41 |
).style(grid=[2], height="auto")
|
42 |
|
43 |
-
btn.click(fake_gan, None, gr.outputs.Image(type="pil"),api_name='testing')
|
44 |
|
45 |
if __name__ == "__main__":
|
46 |
demo.launch()
|
|
|
40 |
label="Generated images", show_label=False, elem_id="gallery"
|
41 |
).style(grid=[2], height="auto")
|
42 |
|
43 |
+
btn.click(fake_gan, None, outputs = [gr.outputs.Image(type="pil")],api_name='testing')
|
44 |
|
45 |
if __name__ == "__main__":
|
46 |
demo.launch()
|