Spaces:
Building
Building
doncamilom
commited on
Commit
•
ebba07f
1
Parent(s):
553db50
rm print
Browse files
utils.py
CHANGED
@@ -5,7 +5,6 @@ def oai_key_isvalid(api_key):
|
|
5 |
try:
|
6 |
llm = OpenAI(openai_api_key = api_key)
|
7 |
out = llm("This is a test")
|
8 |
-
print(out)
|
9 |
return True
|
10 |
except:
|
11 |
return False
|
|
|
5 |
try:
|
6 |
llm = OpenAI(openai_api_key = api_key)
|
7 |
out = llm("This is a test")
|
|
|
8 |
return True
|
9 |
except:
|
10 |
return False
|