amgad59 commited on
Commit
ef7be0f
·
1 Parent(s): 10ef2bf

Update run.py

Browse files
Files changed (1) hide show
  1. run.py +1 -1
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()