Update app.py
Browse files
app.py
CHANGED
|
@@ -1105,10 +1105,8 @@ def create_interface():
|
|
| 1105 |
with gr.Row():
|
| 1106 |
with gr.Column():
|
| 1107 |
api_key_input = gr.Textbox(
|
| 1108 |
-
|
| 1109 |
-
|
| 1110 |
-
placeholder="Enter your Gemini API key",
|
| 1111 |
-
info="Get your API key at https://makersuite.google.com/app/apikey"
|
| 1112 |
)
|
| 1113 |
|
| 1114 |
mock_mode = gr.Checkbox(
|
|
@@ -1116,7 +1114,11 @@ def create_interface():
|
|
| 1116 |
value=False,
|
| 1117 |
visible=False
|
| 1118 |
)
|
| 1119 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1120 |
init_button = gr.Button("Initialize Session", variant="primary", size="lg")
|
| 1121 |
init_status = gr.Textbox(label="Status", interactive=False)
|
| 1122 |
|
|
|
|
| 1105 |
with gr.Row():
|
| 1106 |
with gr.Column():
|
| 1107 |
api_key_input = gr.Textbox(
|
| 1108 |
+
value="AIzaSyCgmXokNz5qDCJPFB7A61HKYjBluQwyT04",
|
| 1109 |
+
visible=False
|
|
|
|
|
|
|
| 1110 |
)
|
| 1111 |
|
| 1112 |
mock_mode = gr.Checkbox(
|
|
|
|
| 1114 |
value=False,
|
| 1115 |
visible=False
|
| 1116 |
)
|
| 1117 |
+
gr.Markdown("""
|
| 1118 |
+
### ✅ Ready to Use
|
| 1119 |
+
Click the button below to start your session. The API is pre-configured!
|
| 1120 |
+
""")
|
| 1121 |
+
|
| 1122 |
init_button = gr.Button("Initialize Session", variant="primary", size="lg")
|
| 1123 |
init_status = gr.Textbox(label="Status", interactive=False)
|
| 1124 |
|