import gradio as gr
with gr.Blocks(analytics_enabled=False) as app:   
    gallery = gr.Gallery(label="Generated Images",  interactive=True, show_label=True, preview=True, allow_preview=True)

app.launch(inbrowser=True)