Update app.py
Browse files
app.py
CHANGED
@@ -165,7 +165,12 @@ with gr.Blocks(title="Voice Bot: Krishnavamshi Thumma") as demo:
|
|
165 |
</style>
|
166 |
""")
|
167 |
|
168 |
-
api_key = gr.Textbox(
|
|
|
|
|
|
|
|
|
|
|
169 |
key_status = gr.HTML("<div id='keyStatus'></div>")
|
170 |
|
171 |
# Chatbot component to display messages
|
|
|
165 |
</style>
|
166 |
""")
|
167 |
|
168 |
+
api_key = gr.Textbox(
|
169 |
+
label="🔐 OpenAI API Key (GPT-4o required)",
|
170 |
+
placeholder="Paste your OpenAI GPT-4o API key here (not GPT-3/3.5-turbo)",
|
171 |
+
type="password",
|
172 |
+
elem_id="apiKeyInput"
|
173 |
+
)
|
174 |
key_status = gr.HTML("<div id='keyStatus'></div>")
|
175 |
|
176 |
# Chatbot component to display messages
|