Spaces:
Running on Zero
Running on Zero
Update app.py
Browse files247 unmodified lines24824925025125225325425525625725825926026126226326426526626726826927027127227327427527661 unmodified lines33833934034134234334495 unmodified lines4404414424434444454462 unmodified lines449450451452453454455456247 unmodified linesmargin-bottom: 0.5rem !important;}.example-card {border-radius: 12px !important;transition: all 0.3s ease !important;cursor: pointer !important;border: 2px solid transparent !important;}.example-card:hover {border-color: #667eea !important;transform: scale(1.02) !important;}.accordion {border-radius: 12px !important;border: 1.5px solid #e5e7eb !important;overflow: hidden !important;}#output-image {border-radius: 16px !important;overflow: hidden !important;}.footer-note {text-align: center;padding: 1.5rem;61 unmodified lines]]# Create the Gradio interface - theme moved to launch()with gr.Blocks(title="Z-Image Turbo - AI Image Generator",fill_height=False95 unmodified linesheight=600)# Examples sectionwith gr.Row():gr.Examples(examples=examples,2 unmodified linesfn=generate_image,cache_examples=False,label="💡 Try these examples",examples_per_page=5,elem_classes="example-card")# Footer247 unmodified lines24824925025125225361 unmodified lines31531631731831932032195 unmodified lines4174184194204214224232 unmodified lines426427428429430431432247 unmodified linesmargin-bottom: 0.5rem !important;}.footer-note {text-align: center;padding: 1.5rem;61 unmodified lines]]# Create the Gradio interfacewith gr.Blocks(title="Z-Image Turbo - AI Image Generator",fill_height=False95 unmodified linesheight=600)# Examples section - removed elem_classes parameterwith gr.Row():gr.Examples(examples=examples,2 unmodified linesfn=generate_image,cache_examples=False,label="💡 Try these examples",examples_per_page=5)# Footer
app.py+3-27