Spaces:
Runtime error
Runtime error
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):
|