Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -83,7 +83,7 @@ def gpt_vision_call(image_history: list = []):
|
|
83 |
|
84 |
|
85 |
async def wait_for_key():
|
86 |
-
res = await cl.AskUserMessage(content="Send an Openai API KEY to start. [https://platform.openai.com/api-keys](https://platform.openai.com/api-keys)
|
87 |
if res:
|
88 |
await cl.Message(content="setting up...", indent=1).send()
|
89 |
# check if the key is valid
|
|
|
83 |
|
84 |
|
85 |
async def wait_for_key():
|
86 |
+
res = await cl.AskUserMessage(content="Send an Openai API KEY to start. [https://platform.openai.com/api-keys](https://platform.openai.com/api-keys). e.g. sk-IY8Wl.....1cXD8", timeout=600).send()
|
87 |
if res:
|
88 |
await cl.Message(content="setting up...", indent=1).send()
|
89 |
# check if the key is valid
|