Spaces:
Build error
Build error
Update app.py
Browse files314 unmodified lines3153163173183193203213223233243253263273283293303313323333343357 unmodified lines3433443453463473483493503513523533543553563573583593603613621 unmodified line364365366367368369370371372373374375314 unmodified linescss = """h1, h2, h3, h4, h5, h6, p, li, ul, ol, a, .centered-image {text-align: center;display: block;margin-left: auto;margin-right: auto;}ul, ol {margin-left: auto;margin-right: auto;display: table;}.centered-image {max-width: 100%;height: auto;}"""def login(username, password):7 unmodified linesgenerated_images = gr.State([])with gr.Tab("Welcome"):with gr.Row():with gr.Column(scale=2):gr.Markdown("""<img src="https://cdn-uploads.huggingface.co/production/uploads/64740cf7485a7c8e1bd51ac9/29sj9LyPQItG5uBOO2x3r.webp" alt="UGD Logo" width="250" style="max-width: 100%; height: auto;" class="centered-image"># 🎨 Underground Digital's QR Code Art Generator## Transform Your QR Codes into Brand MasterpiecesThis cutting-edge tool empowers our creative team to craft visually stunning,<br>on-brand QR codes that perfectly blend functionality with artistic expression.## 🚀 How It Works:1. **Enter Your QR Code Content**: Start by inputting the URL or text for your QR code.2. **Craft Your Prompt**: Describe the artistic style or theme you envision for your QR code.1 unmodified line4. **Generate and Iterate**: Click 'Run' to create your art, then refine as needed.""")with gr.Column(scale=1):with gr.Row():gr.Markdown("""Login below using the internal<br>username and password to access the full app.<br>Once logged in, a new tab will appear named<br>314 unmodified lines3153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483497 unmodified lines3573583593603613623633643653663673683693703713723733743751 unmodified line377378379380381382383384385386387314 unmodified linescss = """h1, h2, h3, h4, h5, h6, p, li, ul, ol, a {text-align: left;}.centered-image {display: block;margin-left: auto;margin-right: auto;max-width: 100%;height: auto;}.login-container {display: flex;flex-direction: column;justify-content: center;height: 100%;}.welcome-tab {display: flex;height: 100vh;}.welcome-content {display: flex;flex-direction: column;justify-content: center;}"""def login(username, password):7 unmodified linesgenerated_images = gr.State([])with gr.Tab("Welcome"):with gr.Row(elem_classes="welcome-tab"):with gr.Column(scale=2, elem_classes="welcome-content"):gr.Markdown("""<img src="https://cdn-uploads.huggingface.co/production/uploads/64740cf7485a7c8e1bd51ac9/29sj9LyPQItG5uBOO2x3r.webp" alt="UGD Logo" width="250" class="centered-image"># Underground Digital's QR Code Art Generator## Transform Your QR Codes into Brand MasterpiecesThis cutting-edge tool empowers our creative team to craft visually stunning,on-brand QR codes that perfectly blend functionality with artistic expression.## How It Works:1. **Enter Your QR Code Content**: Start by inputting the URL or text for your QR code.2. **Craft Your Prompt**: Describe the artistic style or theme you envision for your QR code.1 unmodified line4. **Generate and Iterate**: Click 'Run' to create your art, then refine as needed.""")with gr.Column(scale=1, elem_classes="login-container"):with gr.Row():gr.Markdown("""Login below using the Yamamoto internal<br>username and password to access the full app.<br>Once logged in, a new tab will appear named<br>
app.py+31-19