Spaces:
Runtime error
Runtime error
Sharathhebbar24
commited on
Commit
•
4b2632f
1
Parent(s):
1a0b516
Update source_code.py
Browse files- source_code.py +1 -1
source_code.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
import ai21
|
2 |
import os
|
3 |
|
4 |
-
ai21.api_key = os.getenv("
|
5 |
|
6 |
|
7 |
def text_completion(model, prompt, numResults, maxTokens, temperature, topKReturn, topP):
|
|
|
1 |
import ai21
|
2 |
import os
|
3 |
|
4 |
+
ai21.api_key = os.getenv("AI21_API_KEY")
|
5 |
|
6 |
|
7 |
def text_completion(model, prompt, numResults, maxTokens, temperature, topKReturn, topP):
|