Spaces:
Running
Running
Update app.py
Browse files372 unmodified lines373374375376377378376377378379380381380381382382383384385386387388389390384385386391392393394395396397398399388400401402403404405406372 unmodified lines # API Verification Guideline Box with gr.Accordion("🔑 API Key Setup Instructions", open=True): gr.Markdown(""" 1. Visit [Google AI Studio](https://aistudio.google.com/). 2. Click the 'Get API Key' icon in the left-hand sidebar menu: 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> """) gr.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: # Adding the ./ prefix to help the container locate the file gr.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.Markdown(""" 4. Come back to this screen, and paste your API key below (CTRL + V): 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.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. """) app.py+24-10