Spaces:
Running
Running
Update app.py
Browse files5 unmodified lines67891011357 unmodified lines3693703713723733743753763773783793803813823833843853863873883893905 unmodified lines# --- BEI Premium Theme & Horizontal Interface Custom Engine ---custom_css = """/* Completely hide technical loading bars & indicators */.subpanel.loading, .generating, div[class*="loading"], .progress-wrap {display: none !important;357 unmodified lines2. Click the 'Get API Key' icon in the left-hand sidebar menu:""")with gr.Column(scale=0):gr.Image("api_sidebar_icons.png", show_label=False, width=250, interactive=False)gr.Markdown("""3. On the next screen, click the **Copy** button next to your API key:""")with gr.Column(scale=0):gr.Image("google_ai_studio_copy_API_key_icon.png", show_label=False, width=80, interactive=False)gr.Markdown("""4. Come back to this screen, and paste your API key below (CTRL + V):""")with gr.Column(scale=0):gr.Image("down_arrow_Shorashim_Pro.png", show_label=False, width=80, interactive=False)gr.Markdown("""Click <a href='https://youtu.be/Uyn-P2nRvDA?si=LQi2U0tLsY-zE7a9' target='_blank' style='color: #d4af37; font-weight: bold; text-decoration: underline;'>here</a> to view a short how-to video.5 unmodified lines67891011121314151617181920357 unmodified lines3783793803813823833843853863873883893903913923933943953963975 unmodified lines# --- BEI Premium Theme & Horizontal Interface Custom Engine ---custom_css = """/* Force images to be left-aligned and hide the Gradio toolbar/buttons */.no-toolbar .image-container {display: block !important;margin-left: 0 !important;margin-right: auto !important;}.no-toolbar .image-container button {display: none !important;}/* Completely hide technical loading bars & indicators */.subpanel.loading, .generating, div[class*="loading"], .progress-wrap {display: none !important;357 unmodified lines2. Click the 'Get API Key' icon in the left-hand sidebar menu:""")# Using the custom CSS class to force alignment and hide UI buttonsgr.Image("api_sidebar_icons.png", show_label=False, width=250, interactive=False, elem_classes="no-toolbar")gr.Markdown("""3. On the next screen, click the **Copy** button next to your API key:""")gr.Image("google_ai_studio_copy_API_key_icon.png", show_label=False, width=80, interactive=False, elem_classes="no-toolbar")gr.Markdown("""4. Come back to this screen, and paste your API key below (CTRL + V):""")gr.Image("down_arrow_Shorashim_Pro.png", show_label=False, width=80, interactive=False, elem_classes="no-toolbar")gr.Markdown("""Click <a href='https://youtu.be/Uyn-P2nRvDA?si=LQi2U0tLsY-zE7a9' target='_blank' style='color: #d4af37; font-weight: bold; text-decoration: underline;'>here</a> to view a short how-to video.
app.py+13-6