Spaces:
Running
Running
Update app.py
Browse files373 unmodified lines374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407373 unmodified lines# API Verification Guideline Boxwith gr.Accordion("๐ API Key Setup Instructions", open=True):gr.HTML("""<ol style="color: #9ca3af; padding-left: 20px;"><li>Visit <a href="https://aistudio.google.com/" style="color: #d4af37;">Google AI Studio</a>.</li><li>Click the 'Get API Key' icon in the left-hand sidebar menu:</li></ol>""")# Adding the ./ prefix to help the container locate the filegr.Image("./api_sidebar_icons.png", show_label=False, width=250, interactive=False, elem_classes="no-toolbar")gr.HTML("""<ol start="3" style="color: #9ca3af; padding-left: 20px;"><li>On the next screen, click the <b>Copy</b> button next to your API key:</li></ol>""")gr.Image("./google_ai_studio_copy_API_key_icon.png", show_label=False, width=80, interactive=False, elem_classes="no-toolbar")gr.HTML("""<ol start="4" style="color: #9ca3af; padding-left: 20px;"><li>Come back to this screen, and paste your API key below (CTRL + V):</li></ol>""")gr.Image("./down_arrow_Shorashim_Pro.png", show_label=False, width=80, interactive=False, elem_classes="no-toolbar")gr.Markdown("""<br>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.""")# --- HORIZONTAL COCKPIT INPUT ROW ---373 unmodified lines374375376377378379380381382383384385386387388389390391392393394373 unmodified lines# API Verification Guideline Boxwith gr.Accordion("๐ API Key Setup Instructions", open=True):gr.HTML("""<ol style="color: #9ca3af; line-height: 1.8;"><li>Visit <a href="https://aistudio.google.com/" style="color: #d4af37;">Google AI Studio</a>.</li><li>Click the 'Get API Key' icon in the left-hand sidebar menu:</li><img src="file/api_sidebar_icons.png" style="width: 250px; margin: 10px 0;"><li>On the next screen, click the <b>Copy</b> button next to your API key:</li><img src="file/google_ai_studio_copy_API_key_icon.png" style="width: 80px; margin: 10px 0;"><li>Come back to this screen, and paste your API key below (CTRL + V):</li><img src="file/down_arrow_Shorashim_Pro.png" style="width: 80px; margin: 10px 0;"></ol><p style="color: #9ca3af; margin-top: 10px;">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.</p>""")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.""")# --- HORIZONTAL COCKPIT INPUT ROW ---
app.py+8-21