You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
def create_ui():
with gr.Blocks() as demo:
gr.Markdown("# GAN εΎεηζε¨")
with gr.Tabs():
# DCGAN ιι‘Ήε‘
with gr.Tab("DCGAN"):
gr.Markdown("## DCGAN ε¨ζΌ«εΎεηζε¨")
with gr.Row():
with gr.Column():
dcgan_button = gr.Button("ηζε¨ζΌ«εΎε")
with gr.Column():
dcgan_output = gr.Image(label="ηζηε¨ζΌ«εΎε")
dcgan_button.click(fn=dcgan_generate, outputs=dcgan_output)
# StyleGAN ιι‘Ήε‘
with gr.Tab("StyleGAN"):
gr.Markdown("## StyleGAN εΎεηζε¨")
with gr.Row():
with gr.Column():
stylegan_button = gr.Button("ηζεΎε")
with gr.Column():
stylegan_output = gr.Image(label="ηζηεΎε")
stylegan_button.click(fn=generate_multiple_images, outputs=stylegan_output)
# WGAN ιι‘Ήε‘
with gr.Tab("WGAN"):
gr.Markdown("## WGAN εΎεηζε¨")
with gr.Row():
with gr.Column():
wgan_button = gr.Button("ηζεΎε")
with gr.Column():
wgan_output = gr.Image(label="ηζηεΎε")
wgan_button.click(fn=wgan_generate, outputs=wgan_output)
# WGANP ιι‘Ήε‘
with gr.Tab("WGANP"):
gr.Markdown("## WGANP εΎεηζε¨")
with gr.Row():
with gr.Column():
wganp_button = gr.Button("ηζεΎε")
with gr.Column():
wganp_output = gr.Image(label="ηζηεΎε")
wganp_button.click(fn=wganp_generate, outputs=wganp_output)
return demo
ε―ε¨ Gradio εΊη¨
if name == "main":
demo = create_ui()
demo.launch( share=True ,debug=True )
Going to close this as there have been many similar issues around the share link problems. Please look at the existing issues to see if any of those solutions resolve the issue. If you are still facing issues related to share links, please use this issue to report: #3677
Describe the bug
Have you searched existing issues? π
Reproduction
def create_ui():
with gr.Blocks() as demo:
gr.Markdown("# GAN εΎεηζε¨")
with gr.Tabs():
# DCGAN ιι‘Ήε‘
with gr.Tab("DCGAN"):
gr.Markdown("## DCGAN ε¨ζΌ«εΎεηζε¨")
with gr.Row():
with gr.Column():
dcgan_button = gr.Button("ηζε¨ζΌ«εΎε")
with gr.Column():
dcgan_output = gr.Image(label="ηζηε¨ζΌ«εΎε")
dcgan_button.click(fn=dcgan_generate, outputs=dcgan_output)
ε―ε¨ Gradio εΊη¨
if name == "main":
demo = create_ui()
demo.launch( share=True ,debug=True )
Screenshot
Logs
.
System Info
Severity
I can work around it
The text was updated successfully, but these errors were encountered: