Update run.py
Browse files
run.py
CHANGED
@@ -24,7 +24,7 @@ def fake_gan():
|
|
24 |
for i in range(3)
|
25 |
]
|
26 |
return examples[0]
|
27 |
-
outputss = gr.
|
28 |
#out_gen_1 = gr.Image(type="pil", visible=True, show_label=False,source="examples/matisse.jpg")
|
29 |
with gr.Blocks() as demo:
|
30 |
with gr.Column(variant="panel"):
|
@@ -45,4 +45,4 @@ with gr.Blocks() as demo:
|
|
45 |
btn.click(fake_gan, None, outputss,api_name='testing')
|
46 |
|
47 |
if __name__ == "__main__":
|
48 |
-
demo.launch(
|
|
|
24 |
for i in range(3)
|
25 |
]
|
26 |
return examples[0]
|
27 |
+
outputss = gr.Image(type="pil", label="Generated images",value=examples[0])
|
28 |
#out_gen_1 = gr.Image(type="pil", visible=True, show_label=False,source="examples/matisse.jpg")
|
29 |
with gr.Blocks() as demo:
|
30 |
with gr.Column(variant="panel"):
|
|
|
45 |
btn.click(fake_gan, None, outputss,api_name='testing')
|
46 |
|
47 |
if __name__ == "__main__":
|
48 |
+
demo.launch()
|