Spaces:
Runtime error
Runtime error
Commit ·
0d15ac6
1
Parent(s): e148f2b
app create
Browse files- selfinstruct/instance.py +1 -1
selfinstruct/instance.py
CHANGED
|
@@ -317,7 +317,7 @@ def instance_main(inputs, key):
|
|
| 317 |
temperature=1
|
| 318 |
)
|
| 319 |
except OpenAIError:
|
| 320 |
-
return "Wrong Key!", " ", " ", " "
|
| 321 |
api_key = key
|
| 322 |
inputs = inputs.split('\n')
|
| 323 |
print("***", inputs)
|
|
|
|
| 317 |
temperature=1
|
| 318 |
)
|
| 319 |
except OpenAIError:
|
| 320 |
+
return {"Wrong": "Key!"}, " ", " ", " "
|
| 321 |
api_key = key
|
| 322 |
inputs = inputs.split('\n')
|
| 323 |
print("***", inputs)
|